# Maintainer: Laurent Bercot # Contributor: Laurent Bercot pkgname=s6-linux-init pkgver=1.1.1.1 pkgrel=1 pkgdesc="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>=2.13 execline-dev s6-dev>=2.11 linux-headers" subpackages="$pkgname-static $pkgname-dev $pkgname-doc" source="https://skarnet.org/software/s6-linux-init/s6-linux-init-$pkgver.tar.gz" build() { ./configure \ --enable-shared \ --enable-static \ --disable-allstatic \ --prefix=/usr \ --libdir=/usr/lib \ --skeldir=/etc/s6-linux-init/skel make } package() { make DESTDIR="$pkgdir" install } doc() { default_doc mkdir -p "$subpkgdir"/usr/share/doc cp -a "$builddir"/doc "$subpkgdir"/usr/share/doc/$pkgname } sha512sums=" 7f8b81d7fd975c948676c7dad9c1824d304fde58ae660e0bc3256904d8cc53a3fa507428bfbafffcbdb5108b526cfd8d4ba1f2349b3dcf52acd31773ecc770ca s6-linux-init-1.1.1.1.tar.gz "