diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-10-21 14:57:19 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-10-21 15:07:22 +0200 |
commit | 6e0c67db6276ae2c708cf0406acd1755dcda5dcb (patch) | |
tree | 8aef5eb1d1e9a31f235dc677c9e362bd2efa609a /testing/openjade/APKBUILD | |
parent | c6a229976412e653d97d2aa5fd9f90a768d3e999 (diff) | |
download | aports-6e0c67db6276ae2c708cf0406acd1755dcda5dcb.tar.bz2 aports-6e0c67db6276ae2c708cf0406acd1755dcda5dcb.tar.xz |
testing/openjade: create -libs and -doc subpackage
Also install the license and lowercase the license name.
Diffstat (limited to 'testing/openjade/APKBUILD')
-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 |