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.
This commit is contained in:
John Vogel 2017-09-29 03:54:21 -04:00 committed by Danny Rawlins
parent 5a87286cca
commit 618dce624b
3 changed files with 13 additions and 11 deletions

View File

@ -2,11 +2,11 @@ drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/xmlif
-rwxr-xr-x root/root usr/bin/xmlto
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/xmlif.1.gz
-rw-r--r-- root/root usr/man/man1/xmlto.1.gz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/xmlif.1.gz
-rw-r--r-- root/root usr/share/man/man1/xmlto.1.gz
drwxr-xr-x root/root usr/share/xmlto/
drwxr-xr-x root/root usr/share/xmlto/format/
drwxr-xr-x root/root usr/share/xmlto/format/docbook/

View File

@ -1 +1 @@
c90a47c774e0963581c1ba57235f64f4 xmlto-0.0.26.tar.bz2
93bab48d446c826399d130d959fe676f xmlto-0.0.28.tar.bz2

View File

@ -1,20 +1,22 @@
# Description: Convert xml to many other formats.
# URL: http://cyberelk.net/tim/software/xmlto/
# URL: https://pagure.io/xmlto
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Matt Housh, jaeger at morpheus dot net
# Depends on: docbook-xsl
# Depends on: docbook-xml docbook-xsl
name=xmlto
version=0.0.26
version=0.0.28
release=1
source=(https://fedorahosted.org/releases/x/m/xmlto/$name-$version.tar.bz2)
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 \
--mandir=/usr/man
--prefix=/usr
make
make DESTDIR=$PKG install