# Maintainer: Laurent Bercot # Contributor: Eivind Uggedal pkgname=s6-rc pkgver=0.2.1.1 pkgrel=0 pkgdesc="A service manager for s6-based systems." url="http://skarnet.org/software/$pkgname/" arch="all" license="ISC" options="!check" makedepends="skalibs-dev execline-dev s6-dev" subpackages="$pkgname-dev $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 \ --libdir=/usr/lib \ --libexecdir="/lib/$pkgname" \ --with-dynlib=/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="b8dc7a807d7999737f7182680b6dab6d0477d1369c12a5d7192705d33f231ee2be096b2e59106bd4b9e8ba411ba8b6121f9db55ebeed652a7c570c6fbb1d1b01 s6-rc-0.2.1.1.tar.gz"