# Maintainer: Laurent Bercot # Contributor: John Regan pkgname=s6-portable-utils pkgver=2.2.1.2 pkgrel=0 pkgdesc="skarnet.org's tiny portable generic utilities" url="http://skarnet.org/software/$pkgname/" arch="all" license="ISC" makedepends="skalibs-dev" options="!check" subpackages="$pkgname-doc" source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --enable-shared \ --enable-static \ --disable-allstatic \ --prefix=/usr \ --libdir=/usr/lib make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } doc() { default_doc mkdir -p "$subpkgdir/usr/share/doc" cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" } sha512sums="697356a1bea6a0d9ca2dc995667fb2c3ab0e0ec72f9cba9f64a3b745e17ff85793be4b9a3bfcb8137938b732195fdabd2ffba5cef26f86f3ad2705907c6a8ab4 s6-portable-utils-2.2.1.2.tar.gz"