# Contributor: Laurent Bercot # Maintainer: Laurent Bercot pkgname=s6-linux-utils pkgver=2.5.1.7 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.11 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="dabe510d0a4d045578309beeec17aa1b4f88acb09513be65c31a7b338bd50fcb7cc809015fa7328c4a310b838f1335e754f49a12dcf369483c83294b5957156c s6-linux-utils-2.5.1.7.tar.gz"