# Maintainer: Laurent Bercot # Contributor: Christian Kampka pkgname=s6-linux-utils pkgver=2.4.0.2 pkgrel=0 pkgdesc="A set of tiny Linux-specific utilities optimized for simplicity and small size." url="http://skarnet.org/software/$pkgname/" arch="all" license="ISC" options="!check" makedepends="skalibs-dev linux-headers" subpackages="$pkgname-doc" source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --enable-shared \ --enable-static \ --disable-allstatic \ --prefix=/usr \ --libdir=/usr/lib make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } doc() { default_doc mkdir -p "$subpkgdir/usr/share/doc" cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" } sha512sums="4b0c8f1b65b8eb47f3aa7aa365d20dcd46fc144e166f78825ee53aeb789e009b2716a826efa1e92e86e8fe86421efc6ae07970ce421c6913f0b1db679eb6117e s6-linux-utils-2.4.0.2.tar.gz"