void-packages/srcpkgs/s6-portable-utils/template
opsaaspo 1ae431147e New package: s6-portable-utils-2.2.1.0
Closes: #6481 [via git-merge-pr]
2017-06-22 00:53:10 -07:00

28 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
}
}