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

31 lines
916 B
Bash

# Template file for 's6-portable-utils'
pkgname=s6-portable-utils
version=2.2.2.1
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
--with-lib=${XBPS_CROSS_BASE}/usr/lib"
makedepends="skalibs-devel"
short_desc="Tiny portable generic utilities (s6-cat, s6-chmod, etc.)"
maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://skarnet.org/software/${pkgname}/"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=1e473224350c6ebedd7adf162b68303e2e0a32ca2e99d7afee7573d9e78f931c
post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
}
s6-portable-utils-doc_package() {
archs=noarch
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}