From 6e0c67db6276ae2c708cf0406acd1755dcda5dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Wed, 21 Oct 2015 14:57:19 +0200 Subject: testing/openjade: create -libs and -doc subpackage Also install the license and lowercase the license name. --- testing/openjade/APKBUILD | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) (limited to 'testing') 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 # Contributor: Leonardo Arena +# Maintainer: Sören Tempel 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 -- cgit v1.2.3