From 9ba7cee8a94a9ef8d1e87949bfdbdc4458d6b538 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 25 Jun 2018 06:09:52 -0500 Subject: system/docbook-xsl: pull in for xmlto --- system/docbook-xsl/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 system/docbook-xsl/APKBUILD (limited to 'system/docbook-xsl/APKBUILD') diff --git a/system/docbook-xsl/APKBUILD b/system/docbook-xsl/APKBUILD new file mode 100644 index 000000000..0482a76ef --- /dev/null +++ b/system/docbook-xsl/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Natanael Copa +# Maintainer: A. Wilcox +pkgname=docbook-xsl +pkgver=1.79.1 +pkgrel=2 +pkgdesc="XML stylesheets for Docbook-xml transformations." +url="http://docbook.sourceforge.net/" +arch="noarch" +options="!check" # Just XML files +license="MIT" +depends="libxml2-utils libxslt docbook-xml" +makedepends="" +install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall" +source="http://downloads.sourceforge.net/sourceforge/docbook/$pkgname-$pkgver.tar.bz2 + 765567_non-recursive_string_subst.patch + " + +package() { + cd "$builddir" + local _dest dir f + _dest="$pkgdir"/usr/share/xml/docbook/xsl-stylesheets-$pkgver + + install -dm755 "$_dest" + install -m644 VERSION VERSION.xsl "$_dest"/ + + for dir in assembly common eclipse epub epub3 fo highlighting html \ + htmlhelp javahelp lib manpages params profiling roundtrip \ + template website xhtml xhtml-1_1 xhtml5; do + + install -dm755 $_dest/$dir + for f in $dir/*.xml $dir/*.xsl $dir/*.dtd $dir/*.ent; do + [ -e "$f" ] || continue + install -m644 $f $_dest/$dir + done + done + + install -dm755 "$pkgdir"/etc/xml + + install -m644 -D COPYING \ + "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +sha512sums="83325cbaf1545da6b9b8b77f5f0e6fdece26e3c455164b300a1aa3d19e3bd29ae71fd563553a714a5394968d1a65684c6c7987c77524469358d18b8c227025c7 docbook-xsl-1.79.1.tar.bz2 +6a26838078a3ce28273dddfa1af6a378cffc28b6d1ba48a4cfc839addd7bf58ce217d6584b735f9c75381954744ab2386c75fa3c593858b6e27882be55c00d04 765567_non-recursive_string_subst.patch" -- cgit v1.2.3-70-g09d2