void-packages/srcpkgs/xmlto/template
2015-09-17 21:59:12 +02:00

18 lines
593 B
Bash

# Template file for 'xmlto'
pkgname=xmlto
version=0.0.26
revision=2
build_style=gnu-configure
hostmakedepends="libxslt docbook-xsl"
depends="${hostmakedepends}"
short_desc="Tool to help transform XML documents into other formats"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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
}