31 lines
978 B
Bash
31 lines
978 B
Bash
# Template file for 'docbook-xsl'
|
|
pkgname=docbook-xsl
|
|
version=1.79.0
|
|
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=de7ba9cfdc75cb7df4f3e57f080d3a30d97ef2ba6841cbce8bdbd9f6eb43d606
|
|
|
|
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
|
|
}
|