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

Andrea Scarpino andrea at archlinux.org
Sat Sep 11 17:51:00 UTC 2010


    Date: Saturday, September 11, 2010 @ 13:51:00
  Author: andrea
Revision: 90436

python2 rebuild

Modified:
  kdenetwork/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-09-11 17:50:39 UTC (rev 90435)
+++ PKGBUILD	2010-09-11 17:51:00 UTC (rev 90436)
@@ -11,7 +11,7 @@
          'kdenetwork-krdc'
          'kdenetwork-krfb')
 pkgver=4.5.1
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
 license=('GPL' 'LGPL' 'FDL')
@@ -62,6 +62,9 @@
 	make DESTDIR=$pkgdir install
 	cd $srcdir/build/doc/kget
 	make DESTDIR=$pkgdir install
+
+        # fix python 2.7 path
+        find ${pkgdir} -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|'
 }
 
 package_kdenetwork-kopete() {




More information about the arch-commits mailing list