void-packages/srcpkgs/s6-portable-utils/template

29 lines
793 B
Bash

# Template file for 's6-portable-utils'
pkgname=s6-portable-utils
version=2.2.1.0
revision=1
build_style=gnu-configure
makedepends="skalibs-devel"
configure_args="--libdir=/usr/lib --includedir=/usr/include"
short_desc="Tiny portable generic utilities (s6-cat, s6-chmod, etc.)"
maintainer="<opsaaspo@yandex.ru>"
license="ISC"
homepage="http://skarnet.org/software/${pkgname}/"
distfiles="http://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=15b044017a1d24432affa26945793aaf93fff03ad0c0ff10a3a4973277fc009b
post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
}
s6-portable-utils-doc_package() {
noarch=yes
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}