summaryrefslogtreecommitdiff
path: root/community-testing/gigi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/gigi/PKGBUILD')
-rw-r--r--community-testing/gigi/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/community-testing/gigi/PKGBUILD b/community-testing/gigi/PKGBUILD
index 4a5bb74b8..860c05544 100644
--- a/community-testing/gigi/PKGBUILD
+++ b/community-testing/gigi/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 77537 2012-10-11 22:30:20Z lcarlier $
+# $Id: PKGBUILD 78047 2012-10-16 11:50:33Z allan $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: fana-m <geminin@gmx.net>
@@ -7,7 +7,7 @@
pkgname=gigi
pkgver=0.8.0
-pkgrel=13
+pkgrel=14
_fixedrevision=5208
pkgdesc="Small, efficient and feature rich GUI for C++ and OpenGL (freeorion fork)"
url="http://gigi.sourceforge.net/"
@@ -66,6 +66,11 @@ package() {
sed -i "s:$srcdir:/:g" "$f"
done
+ msg2 "Fixing python3 shebang..."
+ for f in `find "$pkgdir/usr" -name "*.py"`; do
+ sed -i "s:/env python:/python3:g" "$f"
+ done
+
msg2 "Packaging license..."
install -Dm 644 COPYING \
"$pkgdir/usr/share/licenses/$pkgname/COPYING"