summaryrefslogtreecommitdiffstats
path: root/extra/gobject-introspection/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gobject-introspection/Pkgfile')
-rw-r--r--extra/gobject-introspection/Pkgfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/gobject-introspection/Pkgfile b/extra/gobject-introspection/Pkgfile
index 0320e2314..17183ee66 100644
--- a/extra/gobject-introspection/Pkgfile
+++ b/extra/gobject-introspection/Pkgfile
@@ -8,7 +8,6 @@ name=gobject-introspection
version=0.10.0
release=2
source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.bz2)
-
build() {
cd $name-$version
@@ -18,5 +17,8 @@ build() {
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/gtk-doc
+ sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|" \
+ $PKG/usr/lib/gobject-introspection/giscanner/*.py
+
}