[arch-commits] Commit in libxslt/repos (4 files)

Antonio Rojas arojas at archlinux.org
Sat Aug 19 03:55:45 UTC 2017


    Date: Saturday, August 19, 2017 @ 03:55:44
  Author: arojas
Revision: 302390

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  libxslt/repos/testing-i686/
  libxslt/repos/testing-i686/PKGBUILD
    (from rev 302389, libxslt/trunk/PKGBUILD)
  libxslt/repos/testing-x86_64/
  libxslt/repos/testing-x86_64/PKGBUILD
    (from rev 302389, libxslt/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   51 ++++++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   51 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+)

Copied: libxslt/repos/testing-i686/PKGBUILD (from rev 302389, libxslt/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-08-19 03:55:44 UTC (rev 302390)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=libxslt
+pkgver=1.1.29+42+gac341cbd
+pkgrel=2
+pkgdesc="XML stylesheet transformation library"
+arch=('i686' 'x86_64')
+url="http://xmlsoft.org/XSLT/"
+license=('custom')
+depends=('libxml2' 'libgcrypt')
+makedepends=('python2' git)
+checkdepends=('docbook-xml' 'python')
+_commit=ac341cbd792ee572941cc9a66e73800219a1a386  # master
+source=("git+https://git.gnome.org/browse/libxslt#commit=$_commit")
+md5sums=('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 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  rm -f "${pkgdir}"/usr/lib/python*/site-packages/*.a
+}

Copied: libxslt/repos/testing-x86_64/PKGBUILD (from rev 302389, libxslt/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-08-19 03:55:44 UTC (rev 302390)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=libxslt
+pkgver=1.1.29+42+gac341cbd
+pkgrel=2
+pkgdesc="XML stylesheet transformation library"
+arch=('i686' 'x86_64')
+url="http://xmlsoft.org/XSLT/"
+license=('custom')
+depends=('libxml2' 'libgcrypt')
+makedepends=('python2' git)
+checkdepends=('docbook-xml' 'python')
+_commit=ac341cbd792ee572941cc9a66e73800219a1a386  # master
+source=("git+https://git.gnome.org/browse/libxslt#commit=$_commit")
+md5sums=('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 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  rm -f "${pkgdir}"/usr/lib/python*/site-packages/*.a
+}



More information about the arch-commits mailing list