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

Allan McRae allan at archlinux.org
Fri Oct 1 13:19:31 UTC 2010


    Date: Friday, October 1, 2010 @ 09:19:30
  Author: allan
Revision: 92839

upgpkg: pygobject 2.26.0-2
python2 rebuild

Modified:
  pygobject/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-10-01 13:18:28 UTC (rev 92838)
+++ PKGBUILD	2010-10-01 13:19:30 UTC (rev 92839)
@@ -3,7 +3,7 @@
 
 pkgname=pygobject
 pkgver=2.26.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Python bindings for GObject"
 arch=('i686' 'x86_64')
 license=('LGPL')
@@ -22,4 +22,7 @@
 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