30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
# Description: A collection of XSL stylesheets that are useful for performing transformations on XML DocBook files.
|
|
# URL: http://docbook.sourceforge.net/
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: libxslt docbook-xml
|
|
|
|
name=docbook-xsl
|
|
version=1.79.2
|
|
release=4
|
|
source=(https://github.com/docbook/xslt10-stylesheets/releases/download/release/$version/$name-nons-$version.tar.bz2 non-recursive-string-subst.patch)
|
|
|
|
build() {
|
|
cd $name-nons-$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 epub3 fo \
|
|
highlighting html htmlhelp images javahelp lib manpages \
|
|
params profiling roundtrip slides template tests tools website \
|
|
xhtml xhtml-1_1 xhtml5 \
|
|
$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
|
|
|
|
find $PKG \( -name "NEWS*" -o -name "README*" -o -name "ChangeLog*" \) -delete
|
|
}
|