void-packages/srcpkgs/66-tools/template

34 lines
880 B
Bash

# Template file for '66-tools'
pkgname=66-tools
version=0.0.4.0
revision=2
wrksrc=${pkgname}-v${version}
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
--with-lib=${XBPS_CROSS_BASE}/usr/lib"
hostmakedepends="pkg-config scdoc"
makedepends="oblibs-devel execline-devel skalibs-devel"
short_desc="Small tools and helpers for service scripts execution"
maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="http://web.obarun.org/software/index.html"
distfiles="https://framagit.org/Obarun/66-tools/-/archive/v${version}/66-tools-v${version}.tar.gz"
checksum=e0ca477626ca69d44120965015cbdaf369afde995a0c5d8748b5d818e82cfbd1
pre_build() {
make man
}
post_install() {
local i
vlicense COPYING
for i in doc/html/*.html ; do
vdoc $i
done
vdoc README
for i in doc/man/*.{1,5} ; do
vman $i
done
}