void-packages/srcpkgs/txt2man/template

25 lines
507 B
Bash

# Template file for 'txt2man'
pkgname=txt2man
version=1.7.1
revision=1
short_desc="Converts text to man page"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/mvertes/txt2man"
distfiles="https://github.com/mvertes/txt2man/archive/txt2man-${version}.tar.gz"
checksum=4d9b1bfa2b7a5265b4e5cb3aebc1078323b029aa961b6836d8f96aba6a9e434d
do_build() {
make
}
do_install() {
for docs in *.1; do
vman $docs
done
vbin bookman
vbin src2man
vbin txt2man
}