a92d370caa
Generated with: git ls-files 'srcpkgs/**/patches/*' | cut -d/ -f2 | uniq | xargs printf 'srcpkgs/%s/template\n' | xargs grep -L 'patch_args=' | xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
24 lines
632 B
Bash
24 lines
632 B
Bash
# Template file for 'texi2mdoc'
|
|
pkgname=texi2mdoc
|
|
version=0.1.2
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
short_desc="Convert Texinfo documentation into man pages (mdoc)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="ISC"
|
|
homepage="http://mdocml.bsd.lv/texi2mdoc"
|
|
distfiles="http://mdocml.bsd.lv/texi2mdoc/snapshots/${pkgname}-${version}.tgz"
|
|
checksum=7a45fd87c27cc8970a18db9ddddb2f09f18b8dd5152bf0ca377c3a5e7d304bfe
|
|
patch_args=-Np0
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
|
makedepends+=" musl-legacy-compat"
|
|
fi
|
|
|
|
post_extract() {
|
|
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile
|
|
}
|
|
do_install() {
|
|
vbin texi2mdoc
|
|
vman texi2mdoc.1
|
|
}
|