# Template file for 'xmlto'
pkgname=xmlto
version=0.0.26
revision=1
build_style=gnu-configure
hostmakedepends="libxslt docbook-xsl>=1.77.1_2"
depends="${hostmakedepends}"
short_desc="Tool to help transform XML documents into other formats"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://cyberelk.net/tim/software/xmlto/"
distfiles="https://fedorahosted.org/releases/x/m/xmlto/xmlto-$version.tar.bz2"
checksum=efb49b2fb3bc27c1a1e24fe34abf19b6bf6cbb40844e6fd58034cdf21c54b5ec

post_install() {
	# Requires bash!
	sed -i "s|^#!/bin/sh|#!/bin/bash|" ${DESTDIR}/usr/bin/xmlto
}
