milis/talimatname/genel/docbook-xsl/talimat

33 lines
1.0 KiB
Plaintext

# Description: XML stylesheets for Docbook-xml transformations
# URL: http://scrollkeeper.sourceforge.net/docbook.shtml
# Packager: milisarge
# Depends on: libxml2 docbook-xml
name=docbook-xsl
version=1.79.1
release=2
source=(http://downloads.sourceforge.net/docbook/$name-$version.tar.bz2
http://downloads.sourceforge.net/docbook/docbook-xsl-doc-$version.tar.bz2)
build() {
cd $name-$version
install -v -m755 -d $PKG/usr/share/xml/docbook/xsl-stylesheets-$version
cp -v -R VERSION common eclipse epub epub3 extensions fo highlighting html \
htmlhelp images javahelp lib manpages params profiling \
roundtrip slides template tests tools webhelp 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
install -v -m644 -D README \
$PKG/usr/share/doc/docbook-xsl-$version/README.txt
install -v -m755 RELEASE-NOTES* NEWS* \
$PKG/usr/share/doc/docbook-xsl-$version
cp -v -R doc/* \
$PKG/usr/share/doc/docbook-xsl-$version
chown 0:0 -R $PKG
}