void-packages/srcpkgs/docbook-xsl/template
2014-02-18 16:54:09 +01:00

31 lines
1,011 B
Text

# Template file for 'docbook-xml'
pkgname=docbook-xsl
version=1.77.1
revision=3
noarch="yes"
makedepends="xmlcatmgr docbook-xml>=4.2"
depends="${makedepends}"
xml_entries="nextCatalog /usr/share/xsl/docbook/catalog.xml --"
short_desc="Docbook XSL modular stylesheet"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://docbook.sourceforge.net/"
license="MIT"
distfiles="${SOURCEFORGE_SITE}/docbook/$pkgname-$version.tar.bz2"
checksum=24c6c4413f71f9a2c000fa21be76c58f53db1baa42f17b02845e1c2c0aeb7cd5
do_install() {
local xslmods="common eclipse epub fo highlighting html htmlhelp \
images javahelp lib manpages params profiling \
roundtrip slides website xhtml xhtml-1_1"
vinstall catalog.xml 644 usr/share/xsl/docbook
vinstall VERSION 644 usr/share/xsl/docbook
vinstall VERSION.xsl 644 usr/share/xsl/docbook
for dir in ${xslmods}; do
vmkdir usr/share/xsl/docbook/${dir}
cp -a ${dir}/* ${DESTDIR}/usr/share/xsl/docbook/${dir}/
done
vinstall COPYING 644 usr/share/licenses/${pkgname}
}