void-packages/srcpkgs/docbook-xsl/template
2015-12-28 09:29:45 +01:00

30 lines
978 B
Bash

# Template file for 'docbook-xsl'
pkgname=docbook-xsl
version=1.79.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@voidlinux.eu>"
homepage="http://docbook.sourceforge.net/"
license="MIT"
distfiles="${SOURCEFORGE_SITE}/docbook/$pkgname-$version.tar.bz2"
checksum=725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968
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
}