summaryrefslogtreecommitdiff
path: root/community/gigi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gigi/PKGBUILD')
-rw-r--r--community/gigi/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/community/gigi/PKGBUILD b/community/gigi/PKGBUILD
index ee46e850e..82f7ed14e 100644
--- a/community/gigi/PKGBUILD
+++ b/community/gigi/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 77640 2012-10-13 11:43:07Z allan $
+# $Id: PKGBUILD 78189 2012-10-17 10:23:49Z 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"