[arch-commits] Commit in libxslt/repos/extra-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Saturday, December 7, 2019 @ 13:47:21
  Author: jelle
Revision: 370528

archrelease: copy trunk to extra-x86_64

Added:
  libxslt/repos/extra-x86_64/PKGBUILD
    (from rev 370527, libxslt/trunk/PKGBUILD)
Deleted:
  libxslt/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  105 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 55 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-07 13:47:01 UTC (rev 370527)
+++ PKGBUILD	2019-12-07 13:47:21 UTC (rev 370528)
@@ -1,50 +0,0 @@
-# Maintainer: Eric Belanger <eric at archlinux.org>
-# Contributor: John Proctor <jproctor at prium.net>
-
-pkgname=libxslt
-pkgver=1.1.34
-pkgrel=1
-pkgdesc="XML stylesheet transformation library"
-url="http://xmlsoft.org/XSLT/"
-arch=(x86_64)
-license=(custom)
-depends=(libxml2 libgcrypt)
-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')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-
-  sed -e 's|/usr/bin/python -u|/usr/bin/python2 -u|g' \
-      -e 's|/usr/bin/python$|/usr/bin/python2|g' \
-      -i python/tests/*.py
-
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd $pkgname
-  ./configure --prefix=/usr --with-python=/usr/bin/python2
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-check() {
-  cd $pkgname
-  make check
-}
-
-package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  find "$pkgdir" -name '*.a' -print -delete
-}

Copied: libxslt/repos/extra-x86_64/PKGBUILD (from rev 370527, libxslt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-07 13:47:21 UTC (rev 370528)
@@ -0,0 +1,55 @@
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=libxslt
+pkgver=1.1.34
+pkgrel=2
+pkgdesc="XML stylesheet transformation library"
+url="http://xmlsoft.org/XSLT/"
+arch=(x86_64)
+license=(custom)
+depends=(libxml2 libgcrypt)
+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"
+        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
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  sed -e 's|/usr/bin/python -u|/usr/bin/python2 -u|g' \
+      -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() {
+  cd $pkgname
+  ./configure --prefix=/usr --with-python=/usr/bin/python2
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  find "$pkgdir" -name '*.a' -print -delete
+}


More information about the arch-commits mailing list