diff --git a/srcpkgs/s6-rc-doc b/srcpkgs/s6-rc-doc new file mode 120000 index 00000000000..dbfda9db87a --- /dev/null +++ b/srcpkgs/s6-rc-doc @@ -0,0 +1 @@ +s6-rc \ No newline at end of file diff --git a/srcpkgs/s6-rc/template b/srcpkgs/s6-rc/template new file mode 100644 index 00000000000..60f7e31d1de --- /dev/null +++ b/srcpkgs/s6-rc/template @@ -0,0 +1,30 @@ +# Template file for 's6-rc' +pkgname=s6-rc +version=0.2.0.1 +revision=1 +build_style=gnu-configure +makedepends="execline-devel skalibs-devel s6-devel" +configure_args="--libdir=/usr/lib --includedir=/usr/include" +short_desc="Service manager of the s6 init system" +maintainer="" +license="ISC" +homepage="http://skarnet.org/software/${pkgname}/" +distfiles="http://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=8b01d5b4c2380c6b30d320118b9a9b9ca174a25ed3c75afe8f59a4e840847a76 + +post_install() { + vlicense COPYING + vdoc README + vcopy "doc/*" usr/share/doc/${pkgname} + vmkdir usr/share/examples/${pkgname} + vcopy "examples/source/*" usr/share/examples/${pkgname}/ +} + +s6-rc-doc_package() { + noarch=yes + short_desc+=" - documentation" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/share/doc + } +}