blob: 5e0f033bd31cea6efbefef7b50ac4b8da7e3ea2f (
plain)
1 # Description: A collection of XSL stylesheets that are useful for performing transformations on XML DocBook files.
2 # URL: http://docbook.sourceforge.net/
3 # Maintainer: Matt Housh, jaeger at crux dot ninja
4 # Depends on: libxslt docbook-xml
5
6 name=docbook-xsl
7 version=1.79.2
8 release=2
9 source=(https://github.com/docbook/xslt10-stylesheets/releases/download/release/$version/$name-$version.tar.bz2
10 non-recursive-string-subst.patch)
11
12 build() {
13 cd $name-$version
14
15 patch -Np2 -i $SRC/non-recursive-string-subst.patch
16 install -v -m 0755 -d $PKG/usr/share/xml/docbook/xsl-stylesheets-$version
17
18 cp -v -R \
19 VERSION common eclipse epub extensions fo \
20 highlighting html htmlhelp images javahelp lib manpages \
21 params profiling roundtrip slides template tests tools website \
22 xhtml xhtml-1_1 \
23 $PKG/usr/share/xml/docbook/xsl-stylesheets-$version
24
25 ln -s VERSION $PKG/usr/share/xml/docbook/xsl-stylesheets-${version}/VERSION.xsl
26
27 ln -sf xsl-stylesheets-$version $PKG/usr/share/xml/docbook/xsl-stylesheets
28
29 install -v -m 0644 -D README \
30 $PKG/usr/share/doc/docbook-xsl-$version/README.txt
31
32 install -v -m 0755 RELEASE-NOTES* NEWS* \
33 $PKG/usr/share/doc/docbook-xsl-$version
34
35 find $PKG \( -name "NEWS*" -o -name "README*" -o -name "ChangeLog*" \) -delete
36 }
|