summaryrefslogtreecommitdiffstats
path: root/pygobject/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.servegame.org>2011-07-23 00:25:03 +0200
committerpiernov <piernov@piernov.servegame.org>2011-07-23 00:25:03 +0200
commit457ba45f1f7d291d5881f18786b6a876573a8320 (patch)
tree0cb3caa3241b510b8a377f683aaa559342424471 /pygobject/Pkgfile
downloadgnome3-457ba45f1f7d291d5881f18786b6a876573a8320.tar.gz
gnome3-457ba45f1f7d291d5881f18786b6a876573a8320.tar.bz2
gnome3-457ba45f1f7d291d5881f18786b6a876573a8320.tar.xz
gnome3-457ba45f1f7d291d5881f18786b6a876573a8320.zip
Création du dépôt
Diffstat (limited to 'pygobject/Pkgfile')
-rw-r--r--pygobject/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/pygobject/Pkgfile b/pygobject/Pkgfile
new file mode 100644
index 0000000..c9cc408
--- /dev/null
+++ b/pygobject/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Connecteur Python pour GObject
+# URL: http://www.pygtk.org/
+# Maintainer: NutyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: gobject-introspection, py2cairo
+# Run on: py2cairo
+
+name=pygobject
+version=2.28.6
+release=1
+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
+ make
+ make DESTDIR=$PKG install
+ rm -rf $PKG/usr/share/gtk-doc
+ find $PKG/usr/share/pygobject -name '*.py' | \
+ xargs sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|"
+}
+