contrib/docbook-xsl/Pkgfile
Predrag Ivanović 4c721f6c0a docbook-xsl: Change d/l source to Github, update to 1.79.2
Add patch pending upstream.
2018-08-15 04:35:16 +02:00

35 lines
1.2 KiB
Plaintext

# Description: A collection of XSL stylesheets that are useful for performing transformations on XML DocBook files.
# URL: http://docbook.sourceforge.net/
# Maintainer: Matt Housh, jaeger at crux dot ninja
# Depends on: libxslt docbook-xml
name=docbook-xsl
version=1.79.2
release=1
source=(https://github.com/docbook/xslt10-stylesheets/releases/download/release/$version/$name-$version.tar.bz2
non-recursive-string-subst.patch)
build() {
cd $name-$version
patch -Np2 -i $SRC/non-recursive-string-subst.patch
install -v -m 0755 -d $PKG/usr/share/xml/docbook/xsl-stylesheets-$version
cp -v -R \
VERSION common eclipse epub extensions fo \
highlighting html htmlhelp images javahelp lib manpages \
params profiling roundtrip slides template tests tools website \
xhtml xhtml-1_1 \
$PKG/usr/share/xml/docbook/xsl-stylesheets-$version
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
install -v -m 0644 -D README \
$PKG/usr/share/doc/docbook-xsl-$version/README.txt
install -v -m 0755 RELEASE-NOTES* NEWS* \
$PKG/usr/share/doc/docbook-xsl-$version
}