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