void-packages/srcpkgs/docbook-xsl/template
2014-11-13 11:11:11 +01:00

30 lines
975 B
Text

# Template file for 'docbook-xsl'
pkgname=docbook-xsl
version=1.78.1
revision=1
noarch=yes
depends="xmlcatmgr docbook-xml>=4.2"
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=c98f7296ab5c8ccd2e0bc07634976a37f50847df2d8a59bdb1e157664700b467
do_install() {
local xslmods="assembly common eclipse epub epub3 fo highlighting html \
htmlhelp images javahelp lib manpages params profiling \
roundtrip template slides website xhtml xhtml-1_1 xhtml5"
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
vlicense COPYING
}