diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/openjade/APKBUILD | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/testing/openjade/APKBUILD b/testing/openjade/APKBUILD index 5ecb48be5a..2a23305393 100644 --- a/testing/openjade/APKBUILD +++ b/testing/openjade/APKBUILD @@ -1,28 +1,27 @@ +# 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=1 +pkgrel=2 pkgdesc="Implementation of the DSSSL style language" url="http://openjade.sourceforge.net" arch="all" -license="Custom" -depends= -depends_dev= +license="custom" +depends="" +depends_dev="" makedepends="$depends_dev opensp-dev perl" -install= -subpackages="$pkgname-dev" +install="" +subpackages="$pkgname-dev $pkgname-libs $pkgname-doc" source="http://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 - " - + openjade-1.3.2-respect-ldflags.patch" _builddir="$srcdir"/$pkgname-$pkgver - prepare() { cd "$_builddir" for i in $source; do @@ -43,7 +42,14 @@ build() { package() { cd "$_builddir" - make DESTDIR="$pkgdir" install + 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 } md5sums="7df692e3186109cc00db6825b777201e openjade-1.3.2.tar.gz |