# Contributor: Laurent Bercot # Maintainer: Laurent Bercot pkgname=s6-linux-utils pkgver=2.6.0.1 pkgrel=0 pkgdesc="skarnet.org's Linux-specific miscellaneous utilities" url="https://skarnet.org/software/s6-linux-utils/" arch="all" options="!check" license="ISC" _skalibs_version=2.13 depends="" makedepends="skalibs-dev>=$_skalibs_version skalibs-libs-dev>=$_skalibs_version" subpackages="$pkgname-doc" source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" build() { ./configure \ --disable-allstatic \ --prefix=/usr \ --with-dynlib=/lib make } package() { make DESTDIR="$pkgdir" install } doc() { pkgdesc="$pkgdesc (documentation)" depends="" install_if="docs $pkgname=$pkgver-r$pkgrel" mkdir -p "$subpkgdir/usr/share/doc" cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" } sha512sums="52e10411ea2532534c397a07981e5bd79ce97c79c688efe0378edc4e696ce9dfdc4fd3eb942c4a75c06f16a5d7c10b2f8cd396c07d98620e94446fcd10bc5bae s6-linux-utils-2.6.0.1.tar.gz"