# Template file for 'xmlto'
pkgname=xmlto
version=0.0.25
revision=4
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=361cb70d5d0b4b753db00b67ed8bc1d53d0bc96c407d0310aefe854470b7e536

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