diff options
author | Laurent Bercot <ska-devel@skarnet.org> | 2016-11-04 19:16:36 +0100 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-11-24 06:21:55 +0000 |
commit | 7aaa625b7a8a6cb603a5d09bfc12ae126354299a (patch) | |
tree | 720c7ba657d92d7a9d66bb4cbc76f81307ceaf97 /main/s6-dns | |
parent | f4fafbdff7bb467868bd27d0f50b77e5e363b7f8 (diff) | |
download | aports-7aaa625b7a8a6cb603a5d09bfc12ae126354299a.zip |
main/s6-dns: make doc subpackage
Diffstat (limited to 'main/s6-dns')
-rw-r--r-- | main/s6-dns/APKBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/main/s6-dns/APKBUILD b/main/s6-dns/APKBUILD index 04fb7d40571..3a5b0b541d6 100644 --- a/main/s6-dns/APKBUILD +++ b/main/s6-dns/APKBUILD @@ -2,16 +2,16 @@ # Contributor: John Regan <john@jrjrtech.com> pkgname=s6-dns pkgver=2.1.0.0 -pkgrel=0 +pkgrel=1 pkgdesc="skarnet.org's DNS client libraries and command-line DNS client utilities" url="http://skarnet.org/software/$pkgname/" arch="all" license="ISC" depends="skalibs" depends_dev="skalibs-dev" -makedepends="$depends_dev" +makedepends="skalibs-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="400d1115f249bc64c9f0a0fb43d07906 s6-dns-2.1.0.0.tar.gz" sha256sums="8455f3b1edad8f01a1340cb1242c141755729bfd5d71059739eced5c006539ad s6-dns-2.1.0.0.tar.gz" sha512sums="c75722b3ddd9d1646116654983558efde22d0d5d3ff1c296a8d5e2ba44abe0d5a86fc86804cf90bea2ee8c3e82028e182d28cdbf5155d46c6b3d8f4d1c3387fc s6-dns-2.1.0.0.tar.gz" |