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

Ionut Biru ibiru at archlinux.org
Wed Jan 5 09:08:38 EST 2011


    Date: Wednesday, January 5, 2011 @ 09:08:38
  Author: ibiru
Revision: 104896

force using python2 when system is not clean

Modified:
  libglade/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-05 13:46:52 UTC (rev 104895)
+++ PKGBUILD	2011-01-05 14:08:38 UTC (rev 104896)
@@ -20,9 +20,9 @@
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i "${srcdir}/libglade-2.0.1-nowarning.patch" || return 1
-  ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
-  install -m755 libglade-convert "${pkgdir}/usr/bin/" || return 1
+  patch -Np1 -i "${srcdir}/libglade-2.0.1-nowarning.patch"
+  PYTHON=python2 ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var
+  make
+  make DESTDIR="${pkgdir}" install
+  install -m755 libglade-convert "${pkgdir}/usr/bin/"
 }



More information about the arch-commits mailing list