# Template file for 'docbook-xsl-ns' pkgname=docbook-xsl-ns # keep in sync with docbook-xsl version=1.79.2 revision=1 # at v1.79.2, docbook-xsl-ns was renamed to just docbook-xsl depends="xmlcatmgr docbook-xml>=4.2" short_desc="Docbook XSL modular stylesheet" maintainer="Cameron Nemo " license="MIT" homepage="https://docbook.org/" distfiles="https://github.com/docbook/xslt10-stylesheets/releases/download/release/${version}/docbook-xsl-ns-${version}.tar.bz2" checksum=316524ea444e53208a2fb90eeb676af755da96e1417835ba5f5eb719c81fa371 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 }