void-packages/srcpkgs/docbook2mdoc/template

18 lines
570 B
Bash

# Template file for 'docbook2mdoc'
pkgname=docbook2mdoc
version=0.0.9
revision=2
build_style=gnu-makefile
makedepends="expat-devel"
short_desc="A converter from DocBook V4.x and v5.x XML into mdoc"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="ISC"
homepage="http://mdocml.bsd.lv/docbook2mdoc"
distfiles="http://mdocml.bsd.lv/docbook2mdoc/snapshots/${pkgname}-${version}.tgz"
checksum=93320aa42cbcc2a8e43aceff3ef97af83ba65a87c6e745aa37ae27f43440341e
post_extract() {
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile
sed -i 's,/man/man1,/share/man/man1,g' Makefile
}