diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/docbook-xsl/MAKEPKG | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/docbook-xsl/MAKEPKG')
| -rw-r--r-- | opt/docbook-xsl/MAKEPKG | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/opt/docbook-xsl/MAKEPKG b/opt/docbook-xsl/MAKEPKG new file mode 100644 index 0000000..1226aa3 --- /dev/null +++ b/opt/docbook-xsl/MAKEPKG @@ -0,0 +1,61 @@ +#!/bin/mkpkg +# description: DocBook XSL stylesheets (non-namespaced) +# url: https://github.com/docbook/xslt10-stylesheets + +name=docbook-xsl +version=1.79.2 +release=1 +makedeps=(libxml2 libxslt) +source=(https://github.com/docbook/xslt10-stylesheets/releases/download/release/$version/docbook-xsl-nons-$version.tar.bz2) +sha256sums=( + "ee8b9eca0b7a8f89075832a2da7534bce8c5478fc8fc2676f512d5d87d832102" +) + +build() { + cd docbook-xsl-nons-$version + + _dest=$PKG/usr/share/xml/docbook/xsl-stylesheets-$version + + install -d $_dest + cp -R VERSION assembly common eclipse epub epub3 extensions fo \ + highlighting html htmlhelp images javahelp lib manpages params \ + profiling roundtrip slides template tools webhelp website \ + xhtml xhtml-1_1 xhtml5 \ + $_dest + + ln -s VERSION $_dest/VERSION.xsl + + # Set up XML catalog entries + install -d $PKG/etc/xml + xmlcatalog --noout --create $PKG/etc/xml/catalog + + xmlcatalog --noout --add "rewriteSystem" \ + "http://docbook.sourceforge.net/release/xsl/current" \ + "/usr/share/xml/docbook/xsl-stylesheets-$version" \ + $PKG/etc/xml/catalog + + xmlcatalog --noout --add "rewriteURI" \ + "http://docbook.sourceforge.net/release/xsl/current" \ + "/usr/share/xml/docbook/xsl-stylesheets-$version" \ + $PKG/etc/xml/catalog + + xmlcatalog --noout --add "rewriteSystem" \ + "https://cdn.docbook.org/release/xsl/current" \ + "/usr/share/xml/docbook/xsl-stylesheets-$version" \ + $PKG/etc/xml/catalog + + xmlcatalog --noout --add "rewriteURI" \ + "https://cdn.docbook.org/release/xsl/current" \ + "/usr/share/xml/docbook/xsl-stylesheets-$version" \ + $PKG/etc/xml/catalog + + # Remove tests and docs + rm -rf $_dest/tests +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
