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

Andrea Scarpino andrea at archlinux.org
Mon Oct 25 11:13:31 UTC 2010


    Date: Monday, October 25, 2010 @ 07:13:31
  Author: andrea
Revision: 96878

fix python2 path

Modified:
  kdegames/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-10-25 10:26:32 UTC (rev 96877)
+++ PKGBUILD	2010-10-25 11:13:31 UTC (rev 96878)
@@ -106,7 +106,11 @@
 	make DESTDIR=$pkgdir install
 	cd $srcdir/build/doc/kajongg
 	make DESTDIR=$pkgdir install
+
+	# Use the python2 executable
+	find "${pkgdir}" -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|'
 }
+
 package_kdegames-kapman() {
 	pkgdesc='Eat pills escaping ghosts'
 	depends=('kdebase-runtime' 'kdegames-libkdegames')




More information about the arch-commits mailing list