# Maintainer: Laurent Bercot # Contributor: John Regan pkgname=s6-portable-utils pkgver=2.0.6.0 pkgrel=0 pkgdesc="skarnet.org's tiny portable generic utilities" url="http://skarnet.org/software/$pkgname/" arch="all" license="ISC" depends="skalibs" depends_dev="skalibs-dev" makedepends="$depends_dev" install="" subpackages="$pkgname-dev" source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" _builddir="$srcdir/$pkgname-$pkgver" prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --enable-shared \ --enable-static \ --disable-allstatic \ --prefix=/usr \ --libdir=/usr/lib \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="f6341ba58c9ee5c373e4cb5a617bedfa s6-portable-utils-2.0.6.0.tar.gz" sha256sums="233b7d13766a23661cc7ed5c052f29b9c558c1d516a538a281a17da22a909d4b s6-portable-utils-2.0.6.0.tar.gz" sha512sums="822c723f112550550591afb83908bf4d62f40e88fd46eacc6d56feb4c952bcfc4bad91c988f7379323cf7997c4fb823bb837e0c433ca6947762a63a1b8681557 s6-portable-utils-2.0.6.0.tar.gz"