void-packages/srcpkgs/xmlto/template

29 lines
866 B
Plaintext

# Template file for 'xmlto'
pkgname=xmlto
version=0.0.25
revision=3
homepage="http://cyberelk.net/tim/software/xmlto/"
distfiles="https://fedorahosted.org/releases/x/m/xmlto/xmlto-$version.tar.bz2"
build_style=gnu-configure
makedepends="libxslt docbook-xsl>=1.77.1_2"
short_desc="Tool to help transform XML documents into other formats"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
checksum=361cb70d5d0b4b753db00b67ed8bc1d53d0bc96c407d0310aefe854470b7e536
long_desc="
xmlto is a front-end to an XSL toolchain. It chooses an appropriate
stylesheet for the conversion you want and applies it using an
external XSLT processor. It also performs any necessary post-processing."
post_install() {
# Requires bash!
sed -i "s|^#!/bin/sh|#!/bin/bash|" ${DESTDIR}/usr/bin/xmlto
}
xmlto_package() {
depends="${makedepends}"
pkg_install() {
vmove usr
}
}