void-packages/srcpkgs/66/template
2019-04-15 15:19:15 -03:00

45 lines
1.1 KiB
Bash

# Template file for '66'
pkgname=66
version=0.1.0.0
revision=1
wrksrc="66-v${version}"
build_style=gnu-configure
configure_args="--dynlibdir=/usr/lib
--libdir=/usr/lib
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
--with-lib=${XBPS_CROSS_BASE}/usr/lib"
makedepends="oblibs-devel skalibs-devel execline-devel s6-devel s6-rc s6-portable-utils"
depends="s6-rc s6-portable-utils"
short_desc="Helpers tools around s6-rc"
maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="http://web.obarun.org/software/"
distfiles="https://framagit.org/Obarun/66/-/archive/v${version}/66-v${version}.tar.bz2"
checksum=dc6a84a4f0aca6b43da98d74bc5162794061a41acf831bdf50b771ce523b0996
post_install() {
local i
vlicense COPYING
for i in doc/*.html ; do
vdoc $i
done
vdoc README
}
66-doc_package() {
archs=noarch
short_desc+=" - documentation"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}
66-devel_package() {
short_desc+=" - develelopment files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}