Commit 5e7b7fec authored by Laurent Bercot's avatar Laurent Bercot 😴 Committed by Timo Teräs
Browse files

main/s6-linux-utils: add doc subpackage

parent 2baa09c2
......@@ -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"
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