Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=2e240e0ae1a6cad89de3d5a4391ff3e543e117af

commit 2e240e0ae1a6cad89de3d5a4391ff3e543e117af
Author: DeX77 <de...@frugalware.org>
Date:   Fri Sep 22 14:31:04 2017 +0200

docbook-xsl-1.79.2-1-x86_64

* version bump

diff --git a/source/apps/docbook-xsl/765567_non-recursive_string_subst.patch 
b/source/apps/docbook-xsl/765567_non-recursive_string_subst.patch
new file mode 100644
index 0000000..ed20135
--- /dev/null
+++ b/source/apps/docbook-xsl/765567_non-recursive_string_subst.patch
@@ -0,0 +1,26 @@
+diff -Naur docbook-xsl-1.79.2/lib/lib.xsl docbook-xsl-1.79.2.new/lib/lib.xsl
+--- docbook-xsl-1.79.2/lib/lib.xsl     2016-12-09 23:41:39.000000000 +0100
++++ docbook-xsl-1.79.2.new/lib/lib.xsl 2017-09-22 14:21:56.000000000 +0200
+@@ -6,7 +6,11 @@
+
+      This module implements DTD-independent functions
+
+-     ******************************************************************** 
--><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
++     ******************************************************************** -->
++<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
++                xmlns:str="http://exslt.org/strings";
++                exclude-result-prefixes="str"
++                version="1.0">
+
+ <xsl:template name="dot.count">
+   <!-- Returns the number of "." characters in a string -->
+@@ -52,6 +56,9 @@
+   <xsl:param name="replacement"/>
+
+   <xsl:choose>
++    <xsl:when test="function-available('str:replace')">
++      <xsl:value-of select="str:replace($string, string($target), 
string($replacement))"/>
++    </xsl:when>
+     <xsl:when test="contains($string, $target)">
+       <xsl:variable name="rest">
+         <xsl:call-template name="string.subst">
diff --git a/source/apps/docbook-xsl/FrugalBuild 
b/source/apps/docbook-xsl/FrugalBuild
index 3547138..e06d9a6 100644
--- a/source/apps/docbook-xsl/FrugalBuild
+++ b/source/apps/docbook-xsl/FrugalBuild
@@ -2,22 +2,27 @@
# Maintainer: crazy <cr...@frugalware.org>

pkgname=docbook-xsl
-pkgver=1.79.1
-pkgrel=4
+pkgver=1.79.2
+pkgrel=1
pkgdesc="XML stylesheets for Docbook-xml transformations."
depends=('docbook-xml' 'libxslt')
rodepends=('sed')
groups=('apps')
archs=("x86_64")
-_F_sourceforge_dirname="docbook"
-_F_sourceforge_ext=".tar.bz2"
-Finclude sourceforge
-sha1sums=('7487b2acc7106253bb77fcddc7e1a9788601ad23')
+_F_github_author="docbook"
+_F_github_name="xslt10-stylesheets"
+_F_github_tag=y
+Finclude github
+source=("https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F${pkgver}/docbook-xsl-${pkgver}.tar.bz2";
 \
+       "765567_non-recursive_string_subst.patch")
+sha1sums=('42c66d90d5febfccc192b0726bcf1554af6eb792' \
+          'f63b4a32b7430cfdcd5be5f8968a4655092e75de')
options+=('scriptlet')

build() {
local installdir="/usr/share/xml/docbook/xsl-stylesheets-${pkgver}"
Fcd
+       Fpatchall
Fmkdir "$installdir"
for fn in VERSION.xsl assembly common eclipse epub epub3 fo highlighting \
html htmlhelp javahelp lib manpages params profiling roundtrip \
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to