Commit 0eb99bc1 authored by Laurent Bercot's avatar Laurent Bercot 😴 Committed by Timo Teräs
Browse files

main/s6-networking: add doc subpackage

parent 7aaa625b
......@@ -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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment