[arch-commits] Commit in libxslt/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sat Dec 7 13:47:01 UTC 2019


    Date: Saturday, December 7, 2019 @ 13:47:01
  Author: jelle
Revision: 370527

upgpkg: libxslt 1.1.34-2

Make the output of xsltproc deterministic output HTML ids which should lead to
around ~ 150 more reproducible packages in the arch repository.

Modified:
  libxslt/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-07 11:20:55 UTC (rev 370526)
+++ PKGBUILD	2019-12-07 13:47:01 UTC (rev 370527)
@@ -3,7 +3,7 @@
 
 pkgname=libxslt
 pkgver=1.1.34
-pkgrel=1
+pkgrel=2
 pkgdesc="XML stylesheet transformation library"
 url="http://xmlsoft.org/XSLT/"
 arch=(x86_64)
@@ -12,8 +12,10 @@
 makedepends=(python2 git)
 checkdepends=(docbook-xml python)
 _commit=3653123f992db24cec417d12600f4c67388025e3  # tags/v1.1.34^0
-source=("git+https://gitlab.gnome.org/GNOME/libxslt.git#commit=$_commit")
-sha256sums=('SKIP')
+source=("git+https://gitlab.gnome.org/GNOME/libxslt.git#commit=$_commit"
+        https://sources.debian.org/data/main/libx/libxslt/1.1.34-1/debian/patches/0002-Make-generate-id-deterministic.patch)
+sha256sums=('SKIP'
+            '371f8a27e57f648315d2ef73499e9bdc15bc3d83956c63b98eb6865f18411b62')
 
 pkgver() {
   cd $pkgname
@@ -27,7 +29,10 @@
       -e 's|/usr/bin/python$|/usr/bin/python2|g' \
       -i python/tests/*.py
 
+  patch -Np1 -i $srcdir/0002-Make-generate-id-deterministic.patch
+
   NOCONFIGURE=1 ./autogen.sh
+
 }
 
 build() {



More information about the arch-commits mailing list