summaryrefslogtreecommitdiff
path: root/repo/devel/docbook-xsl
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/devel/docbook-xsl
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/devel/docbook-xsl')
-rw-r--r--repo/devel/docbook-xsl/docbook-xsl.xibuild74
1 files changed, 0 insertions, 74 deletions
diff --git a/repo/devel/docbook-xsl/docbook-xsl.xibuild b/repo/devel/docbook-xsl/docbook-xsl.xibuild
deleted file mode 100644
index f5d576d..0000000
--- a/repo/devel/docbook-xsl/docbook-xsl.xibuild
+++ /dev/null
@@ -1,74 +0,0 @@
-#!/bin/sh
-
-MAKEDEPS="patch"
-DEPS="libxml2 libxslt docbook-xml"
-
-PKG_VER=1.79.2
-SOURCE=https://github.com/docbook/xslt10-stylesheets/releases/download/release/$PKG_VER/docbook-xsl-nons-$PKG_VER.tar.bz2
-ADDITIONAL="
- https://www.linuxfromscratch.org/patches/blfs/svn/docbook-xsl-nons-$PKG_VER-stack_fix-1.patch
-"
-
-DESC="XML stylesheets for Docbook-xml transformations"
-
-prepare() {
- patch -Np1 -i docbook-xsl-nons-$PKG_VER-stack_fix-1.patch
-
-}
-
-package () {
- install -m755 -d $PKG_DEST/usr/share/xml/docbook/xsl-stylesheets-nons-$PKG_VER &&
-
- cp -R VERSION assembly 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_DEST/usr/share/xml/docbook/xsl-stylesheets-nons-$PKG_VER &&
-
- ln -s VERSION $PKG_DEST/usr/share/xml/docbook/xsl-stylesheets-nons-$PKG_VER/VERSION.xsl &&
-
- install -m644 -D README \
- $PKG_DEST/usr/share/doc/docbook-xsl-nons-$PKG_VER/README.txt &&
- install -m644 RELEASE-NOTES* NEWS* \
- $PKG_DEST/usr/share/doc/docbook-xsl-nons-$PKG_VER
-
-
- }
-
-postinstall () {
- if [ ! -d /etc/xml ]; then install -m755 -d /etc/xml; fi &&
- if [ ! -f /etc/xml/catalog ]; then
- xmlcatalog --noout --create /etc/xml/catalog
- fi &&
-
- xmlcatalog --noout --add "rewriteSystem" \
- "https://cdn.docbook.org/release/xsl-nons/1.79.2" \
- "/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
- /etc/xml/catalog &&
-
- xmlcatalog --noout --add "rewriteURI" \
- "https://cdn.docbook.org/release/xsl-nons/1.79.2" \
- "/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
- /etc/xml/catalog &&
-
- xmlcatalog --noout --add "rewriteSystem" \
- "https://cdn.docbook.org/release/xsl-nons/current" \
- "/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
- /etc/xml/catalog &&
-
- xmlcatalog --noout --add "rewriteURI" \
- "https://cdn.docbook.org/release/xsl-nons/current" \
- "/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
- /etc/xml/catalog &&
-
- xmlcatalog --noout --add "rewriteSystem" \
- "http://docbook.sourceforge.net/release/xsl/current" \
- "/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
- /etc/xml/catalog &&
-
- xmlcatalog --noout --add "rewriteURI" \
- "http://docbook.sourceforge.net/release/xsl/current" \
- "/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
- /etc/xml/catalog
-}
-