void-packages/srcpkgs/66-tools/template

34 lines
880 B
Bash

# Template file for '66-tools'
pkgname=66-tools
version=0.0.1.0
revision=1
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=e3ce0a1de81196ca7e6ab0bee720022b98dabaa7dd01d9c4c1cc98a90cb3a2a7
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
}