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

Allan McRae allan at archlinux.org
Tue Aug 17 21:57:54 EDT 2010


    Date: Tuesday, August 17, 2010 @ 21:57:53
  Author: allan
Revision: 87702

upgpkg: libxml2 2.7.7-2
python rebuild

Modified:
  libxml2/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-18 01:36:20 UTC (rev 87701)
+++ PKGBUILD	2010-08-18 01:57:53 UTC (rev 87702)
@@ -4,12 +4,12 @@
 
 pkgname=libxml2
 pkgver=2.7.7
-pkgrel=1
+pkgrel=2
 pkgdesc="XML parsing library, version 2"
 arch=(i686 x86_64)
 license=('custom')
 depends=('zlib>=1.2.4' 'readline>=6.1' 'ncurses>=5.7')
-makedepends=('python')
+makedepends=('python2')
 options=('!libtool')
 url="http://www.xmlsoft.org/"
 source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz
@@ -19,10 +19,14 @@
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i "${srcdir}/largefile64.patch" || return 1
-  ./configure --prefix=/usr --with-threads --with-history || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
-  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
+  patch -Np1 -i "${srcdir}/largefile64.patch"
+  ./configure --prefix=/usr --with-threads --with-history \
+     --with-python=/usr/bin/python2.7
+  make
 }
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}



More information about the arch-commits mailing list