void-packages/srcpkgs/s6-portable-utils/template
2019-09-23 15:08:39 +02:00

30 lines
916 B
Bash

# Template file for 's6-portable-utils'
pkgname=s6-portable-utils
version=2.2.2.0
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="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://skarnet.org/software/${pkgname}/"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=0503841a2aee1cd79122c9ecf49dbefad5c5d21be7114e83e71c210e106abf0a
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
}
}