diff options
author | Laurent Bercot <ska-devel@skarnet.org> | 2016-11-04 19:16:40 +0100 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-11-24 06:22:47 +0000 |
commit | 5e7b7fecefc250d393a58cba9ac3b889479be651 (patch) | |
tree | e472ea0daf8dba03aedec390c0ad029eab5030a4 | |
parent | 2baa09c274383b7dcae583eaa085768158a90b99 (diff) | |
download | aports-5e7b7fecefc250d393a58cba9ac3b889479be651.tar.bz2 aports-5e7b7fecefc250d393a58cba9ac3b889479be651.tar.xz |
main/s6-linux-utils: add doc subpackage
-rw-r--r-- | main/s6-linux-utils/APKBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/main/s6-linux-utils/APKBUILD b/main/s6-linux-utils/APKBUILD index 315276afad..14111c1609 100644 --- a/main/s6-linux-utils/APKBUILD +++ b/main/s6-linux-utils/APKBUILD @@ -2,16 +2,15 @@ # Contributor: Christian Kampka <christian@kampka.net> pkgname=s6-linux-utils pkgver=2.2.0.0 -pkgrel=0 +pkgrel=1 pkgdesc="A set of tiny Linux-specific utilities optimized for simplicity and small size." url="http://skarnet.org/software/$pkgname/" arch="all" license="ISC" depends="skalibs" -depends_dev="skalibs-dev" -makedepends="$depends_dev linux-headers" +makedepends="skalibs-dev linux-headers" install="" -subpackages="$pkgname-dev" +subpackages="$pkgname-doc" source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" _builddir="$srcdir/$pkgname-$pkgver" @@ -42,6 +41,12 @@ package() { make DESTDIR="$pkgdir" install || return 1 } +doc() { + default_doc + mkdir -p "$subpkgdir/usr/share/doc" + cp -a "$_builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" +} + md5sums="70b09e0d1b498cf647eea491a1969033 s6-linux-utils-2.2.0.0.tar.gz" sha256sums="587745abfbf2cc631bb54dd2b3fd29f39b723e3c50e28165138a85c98fda35f9 s6-linux-utils-2.2.0.0.tar.gz" sha512sums="5d0fcd29f7a03146b5296d7164326f76af95a8632df4204021d9ae30b1f03590e7f25d410f07639cf741a455f9624f9410b2e7836ae6838916da50be1527ae7f s6-linux-utils-2.2.0.0.tar.gz" |