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

Ionut Biru ibiru at archlinux.org
Wed Jan 5 14:19:02 UTC 2011


    Date: Wednesday, January 5, 2011 @ 09:19:02
  Author: ibiru
Revision: 104901

force using python2 when system is not clean

Modified:
  pygobject/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-05 14:09:27 UTC (rev 104900)
+++ PKGBUILD	2011-01-05 14:19:02 UTC (rev 104901)
@@ -15,14 +15,14 @@
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr
+  PYTHON=python2 ./configure --prefix=/usr
   make
 }
 
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
-  
+
   find "$pkgdir"/usr/share/pygobject -name '*.py' | \
     xargs sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|"
 }




More information about the arch-commits mailing list