[arch-commits] Commit in kdebindings/trunk (PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Sat Sep 11 07:14:45 UTC 2010
Date: Saturday, September 11, 2010 @ 03:14:45
Author: andrea
Revision: 90387
python2 rebuild
Modified:
kdebindings/trunk/PKGBUILD
----------+
PKGBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-09-11 06:44:25 UTC (rev 90386)
+++ PKGBUILD 2010-09-11 07:14:45 UTC (rev 90387)
@@ -7,7 +7,7 @@
'kdebindings-python'
'kdebindings-smoke')
pkgver=4.5.1
-pkgrel=1
+pkgrel=3
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL')
@@ -48,6 +48,9 @@
depends=('kdepim-runtime' 'pyqt' 'qscintilla')
cd $srcdir/build/python
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_kdebindings-smoke() {
More information about the arch-commits
mailing list