contrib/xmlto/Pkgfile
John Vogel 618dce624b xmlto: update to most recent upstream version
Also, change URL and source to current homepage
and release archive.

Note: this patch is based on darfo's xmlto port.
The main changes are formatting and new URL.

I've tested the sed patches. These change the dtd
that xmlif and xmlto use from version 4.2 to 4.5.
These fixes make the xmlto port actually usable.
2017-10-12 23:21:12 +11:00

25 lines
507 B
Plaintext

# Description: Convert xml to many other formats.
# URL: https://pagure.io/xmlto
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Matt Housh, jaeger at morpheus dot net
# Depends on: docbook-xml docbook-xsl
name=xmlto
version=0.0.28
release=1
source=(https://releases.pagure.org/$name/$name-$version.tar.bz2)
build() {
cd $name-$version
sed -i -e 's,4\.2,4\.5,g' doc/xmlif.xml
sed -i -e 's,4\.2,4\.5,g' doc/xmlto.xml
./configure \
--prefix=/usr
make
make DESTDIR=$PKG install
}