# Maintainer: Laurent Bercot # Contributor: Laurent Bercot pkgname=s6-linux-init pkgver=1.0.3.1 pkgrel=0 pkgdesc="A set of tools to create and run an s6-based init system." url="http://skarnet.org/software/$pkgname/" arch="all" license="ISC" options="!check" makedepends="skalibs-dev execline-dev s6-dev" subpackages="$pkgname-static $pkgname-dev $pkgname-doc" source="http://skarnet.org/software/s6-linux-init/s6-linux-init-$pkgver.tar.gz" build() { cd "$builddir" ./configure \ --enable-shared \ --enable-static \ --disable-allstatic \ --prefix=/usr \ --libdir=/usr/lib \ --skeldir=/etc/s6-linux-init/skel 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="71b380ff0eaa1d297bf6af5a1c979efdf34d10ec1e440fd1ee3fcab8ddf2c5d7c903d151986ecb5f01a9e0135bedc8021e5fbf82a3fd66abfebcb5e3cbf19242 s6-linux-init-1.0.3.1.tar.gz"