vp-build/srcpkgs/s6-portable-utils/template

29 lines
901 B
Bash

# Template file for 's6-portable-utils'
pkgname=s6-portable-utils
version=2.2.1.2
revision=1
build_style=gnu-configure
makedepends="skalibs-devel"
configure_args="--libdir=/usr/lib --includedir=/usr/include --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps --with-lib=${XBPS_CROSS_BASE}/usr/lib"
short_desc="Tiny portable generic utilities (s6-cat, s6-chmod, etc.)"
maintainer="Orphaned <orphan@voidlinux.eu>"
license="ISC"
homepage="https://skarnet.org/software/${pkgname}/"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=30a23761c77ba2a523100b4ab645796df4d5665f4ab4347d68cfbb7cc03fc745
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
}
}