# Contributor: Laurent Bercot # Maintainer: Laurent Bercot pkgname=s6-portable-utils pkgver=2.2.3.3 pkgrel=0 pkgdesc="skarnet.org's portable miscellaneous utilities" url="https://skarnet.org/software/s6-portable-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)" install_if="docs $pkgname=$pkgver-r$pkgrel" mkdir -p "$subpkgdir/usr/share/doc" cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" } sha512sums="f3f2e2f47ac61bad23e04a7e27cb833c21be610d54b50fc0f69d7a4d8f19e435a97bd1d570eb2b159d3e0a8b135aaa04cf02bd0a8dc216e0f6872af9c7649461 s6-portable-utils-2.2.3.3.tar.gz"