void-packages/srcpkgs/66-tools/template

33 lines
880 B
Bash

# Template file for '66-tools'
pkgname=66-tools
version=0.0.3.0
revision=3
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=147c314e2d964672c420f0fe0171afd64e4f3543bf2482d7036a0fdb3ee630e9
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
}