void-packages/srcpkgs/docbook-xsl/template

32 lines
1 KiB
Bash

# Template file for 'docbook-xsl'
pkgname=docbook-xsl
reverts="1.79.2_1"
# keep in sync with docbook-xsl-ns
version=1.79.1
revision=7
archs=noarch
depends="xmlcatmgr docbook-xml>=4.2"
short_desc="Docbook XSL modular stylesheet"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://docbook.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/docbook/${pkgname}-${version}.tar.bz2"
checksum=725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968
xml_entries="nextCatalog /usr/share/xsl/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/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
}