Date: Friday, May 10, 2013 @ 19:09:39
  Author: bpiotrowski
Revision: 185047

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

Added:
  libxml2/repos/testing-i686/
  libxml2/repos/testing-i686/PKGBUILD
    (from rev 185046, libxml2/trunk/PKGBUILD)
  libxml2/repos/testing-x86_64/
  libxml2/repos/testing-x86_64/PKGBUILD
    (from rev 185046, libxml2/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   38 ++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

Copied: libxml2/repos/testing-i686/PKGBUILD (from rev 185046, 
libxml2/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2013-05-10 17:09:39 UTC (rev 185047)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot <j...@archlinux.org>
+# Contributor: John Proctor <jproc...@prium.net>
+
+pkgname=libxml2
+pkgver=2.9.1
+pkgrel=1
+pkgdesc="XML parsing library, version 2"
+arch=(i686 x86_64)
+license=('custom')
+depends=('zlib>=1.2.4' 'readline>=6.1' 'ncurses>=5.7' 'xz')
+makedepends=('python2')
+options=('!libtool')
+url="http://www.xmlsoft.org/";
+source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz
+        http://www.w3.org/XML/Test/xmlts20080827.tar.gz)
+md5sums=('9c0cfef285d5c4a5c80d00904ddab380'
+         'ae3d1ebe000a3972afa104ca7f0e1b4a')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  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
+  ./configure --prefix=/usr --with-threads --with-history \
+     --with-python=/usr/bin/python2
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  mv "${srcdir}/xmlconf" .
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}

Copied: libxml2/repos/testing-x86_64/PKGBUILD (from rev 185046, 
libxml2/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2013-05-10 17:09:39 UTC (rev 185047)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot <j...@archlinux.org>
+# Contributor: John Proctor <jproc...@prium.net>
+
+pkgname=libxml2
+pkgver=2.9.1
+pkgrel=1
+pkgdesc="XML parsing library, version 2"
+arch=(i686 x86_64)
+license=('custom')
+depends=('zlib>=1.2.4' 'readline>=6.1' 'ncurses>=5.7' 'xz')
+makedepends=('python2')
+options=('!libtool')
+url="http://www.xmlsoft.org/";
+source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz
+        http://www.w3.org/XML/Test/xmlts20080827.tar.gz)
+md5sums=('9c0cfef285d5c4a5c80d00904ddab380'
+         'ae3d1ebe000a3972afa104ca7f0e1b4a')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  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
+  ./configure --prefix=/usr --with-threads --with-history \
+     --with-python=/usr/bin/python2
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  mv "${srcdir}/xmlconf" .
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}

Reply via email to