aboutsummaryrefslogtreecommitdiffstats
path: root/main/openjade/APKBUILD
blob: 31d3b351fceb3d63e40e2f5ba5d5830e6de3096c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=openjade
pkgver=1.3.2
pkgrel=5
pkgdesc="Implementation of the DSSSL style language"
url="http://openjade.sourceforge.net"
arch="all"
license="custom"
depends=""
depends_dev=""
makedepends="$depends_dev opensp-dev perl"
install=""
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
source="https://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
	openjade-1.3.2-msggen.pl.patch
	openjade-1.3.2-ldflags.patch
	openjade-1.3.2-deplibs.patch
	openjade-1.3.2-libosp-la.patch
	openjade-1.3.2-gcc46.patch
	openjade-1.3.2-respect-ldflags.patch
	"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	update_config_guess || return 1
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1

	install -Dm644 COPYING \
		"$pkgdir"/usr/share/licenses/$pkgname/COPYING || return 1

	mkdir -p "$pkgdir"/usr/share/doc/$pkgname
	install -m644 README ChangeLog NEWS \
		"$pkgdir"/usr/share/doc/$pkgname || return 1
}

sha512sums="c39f70ec8020bd7a2b3e125cbd146b49ddb57910a042bd212da02722617ed5681f32dab60acc26ab89ac658997c6f604911d7be3be391d6278267481f3bcf2f1  openjade-1.3.2.tar.gz
8afe0dd887a2e997922ca4d13f70a11205d224537c920a806b310bdc719005124f3cd6fa075225b83b86a9f0e04496011460962e82aa896b9a16632fbb2da40f  openjade-1.3.2-msggen.pl.patch
6112fbc474f0f2c3c024040b42b13290ba2763381b7f99071d7d9d4f8d11bf1087a2c319eba9f0006e2cc067a14a52cedde98444338b180f9566172b52c044ec  openjade-1.3.2-ldflags.patch
4a7df423c8b8ad15a1a39900c1bb6882157534c981a9c0679b2c6d71a435b6bf3adf27052799a9eb1dd4f6ecd7e19be72889d9a55c7511ffde9dd11f4c558d9e  openjade-1.3.2-deplibs.patch
9b73b95ce3ac1d0042641eb0ddbb5ce753d2fd639dab026b9eab0f45bb3231515c69670f02c2a0793d950b6a6276f94e838d273f01e43694e97525af65903a0e  openjade-1.3.2-libosp-la.patch
df222938e4a04d27618540592e61b8d71fe42caaa4d8aeb90bfcd338efb1ff7903ea860dc460b65a69adf1ccf300a7d67459ff4950a35d9a35569fb8b3ed1438  openjade-1.3.2-gcc46.patch
bca7e9550329bc033a1df4ca78bc1ae75b12f27fdecc6aafff136fd81c93f88045ca675dd03e711b4d428a3de832f3bfa703d639319a2b348a2f8268091658d8  openjade-1.3.2-respect-ldflags.patch"