diff options
author | Laurent Bercot <ska-devel@skarnet.org> | 2016-11-04 19:16:37 +0100 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-11-24 06:22:01 +0000 |
commit | 0eb99bc140c9fbb705c4220289fb21db6613bb38 (patch) | |
tree | 50f4413829fe240827f5610a207cb04954b159cf /main/s6-networking/APKBUILD | |
parent | 7aaa625b7a8a6cb603a5d09bfc12ae126354299a (diff) | |
download | aports-0eb99bc140c9fbb705c4220289fb21db6613bb38.tar.bz2 aports-0eb99bc140c9fbb705c4220289fb21db6613bb38.tar.xz |
main/s6-networking: add doc subpackage
Diffstat (limited to 'main/s6-networking/APKBUILD')
-rw-r--r-- | main/s6-networking/APKBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/main/s6-networking/APKBUILD b/main/s6-networking/APKBUILD index 510a8b3156..2c34eb9e76 100644 --- a/main/s6-networking/APKBUILD +++ b/main/s6-networking/APKBUILD @@ -2,16 +2,16 @@ # Contributor: John Regan <john@jrjrtech.com> pkgname=s6-networking pkgver=2.2.0.0 -pkgrel=0 +pkgrel=1 pkgdesc="skarnet.org's UCSPI Unix and TCP tools, access control tools, and network time management utilities." url="http://skarnet.org/software/$pkgname/" arch="all" license="ISC" depends="skalibs execline s6 s6-dns" depends_dev="skalibs-dev execline-dev s6-dev s6-dns-dev" -makedepends="$depends_dev" +makedepends="skalibs-dev execline-dev s6-dev s6-dns-dev" install="" -subpackages="$pkgname-dev" +subpackages="$pkgname-dev $pkgname-doc" source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" _builddir="$srcdir/$pkgname-$pkgver" @@ -43,6 +43,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="5f45aa8839bd0486a2a55e41fa3cb1a3 s6-networking-2.2.0.0.tar.gz" sha256sums="457d956bb6463ee029af4ce74aa68a88cf238ecfe2123eef50ad5d11502a6e3d s6-networking-2.2.0.0.tar.gz" sha512sums="34979d486404d43cdfdc5e7a496898c04449c00f735a1d7b052b6beb4b3cc5a005d5aea94b99a28d9e0feb02fd150994603883c5ba8c508598b3ffb6bd655efb s6-networking-2.2.0.0.tar.gz" |