void-packages/srcpkgs/docbook-xsl-ns/template

32 lines
1.0 KiB
Bash

# Template file for 'docbook-xsl-ns'
pkgname=docbook-xsl-ns
# keep in sync with docbook-xsl
version=1.79.1
revision=1
archs=noarch
depends="xmlcatmgr docbook-xml>=4.2"
short_desc="Docbook XSL modular stylesheet"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="MIT"
homepage="http://docbook.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/docbook/${pkgname}-${version}.tar.bz2"
checksum=36ca9026e05b8985baebd61a23af8ded8e2cf71cc3163b673159c9d78a7b0f9c
xml_entries="nextCatalog /usr/share/xsl-ns/docbook/catalog.xml --"
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-ns/docbook
vinstall VERSION 644 usr/share/xsl-ns/docbook
vinstall VERSION.xsl 644 usr/share/xsl-ns/docbook
for dir in ${xslmods}; do
vmkdir usr/share/xsl-ns/docbook/${dir}
cp -a ${dir}/* ${DESTDIR}/usr/share/xsl-ns/docbook/${dir}/
done
vlicense COPYING
}