# Description: A collection of XSL stylesheets that are useful for performing transformations on XML DocBook files. # URL: https://github.com/docbook/xslt10-stylesheets/ # Maintainer: John McQuah, jmcquah at disroot dot org # Depends on: libxslt docbook-xml name=docbook-xsl version=2020-06-03 release=1 source=(https://github.com/docbook/xslt10-stylesheets/releases/download/snapshot%2F$version/$name-nons-snapshot.zip) renames=($name-snapshot-$version.zip) build() { cd $name-nons-snapshot install -v -m 0755 -d $PKG/usr/share/xml/docbook/xsl-stylesheets-$version cp -v -R -t $PKG/usr/share/xml/docbook/xsl-stylesheets-$version \ VERSION common eclipse epub epub3 fo \ highlighting html htmlhelp images javahelp lib manpages \ params profiling roundtrip slides template tests tools website \ xhtml xhtml-1_1 xhtml5 ln -s VERSION $PKG/usr/share/xml/docbook/xsl-stylesheets-${version}/VERSION.xsl ln -sf xsl-stylesheets-$version $PKG/usr/share/xml/docbook/xsl-stylesheets find $PKG \( -name "NEWS*" -o -name "README*" -o -name "ChangeLog*" \) -delete }