summaryrefslogtreecommitdiffstats
path: root/pygobject/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'pygobject/Pkgfile')
-rw-r--r--pygobject/Pkgfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/pygobject/Pkgfile b/pygobject/Pkgfile
index 1184765..a60d531 100644
--- a/pygobject/Pkgfile
+++ b/pygobject/Pkgfile
@@ -2,19 +2,21 @@
# URL: http://www.pygtk.org/
# Maintainer: NutyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: gobject-introspection, py2cairo
+# Depends on: py2cairo
# Run on: py2cairo
name=pygobject
version=2.28.6
-release=1
+release=2
source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
build() {
cd $name-$version
- PYTHON=/usr/bin/python2 ./configure --prefix=/usr
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+ --disable-introspection
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/gtk-doc
+ rm -rf $PKG/usr/share/pygobject/xsl
find $PKG/usr/share/pygobject -name '*.py' | xargs sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|"
}