diff options
author | sibel <lesibel@free.fr> | 2011-01-02 11:52:36 +0100 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2011-01-02 11:52:36 +0100 |
commit | 2d2e7355f177ee4f5e336d362dd8f4f8ad4c5109 (patch) | |
tree | 015c838f5356ee1a9961d42e17a094fd133a5579 /extra/pygobject/Pkgfile | |
parent | 40abc007cb662a7833d3c0d4074c47dc9aff3d4e (diff) | |
download | nutyx-pakxe-2d2e7355f177ee4f5e336d362dd8f4f8ad4c5109.tar.gz nutyx-pakxe-2d2e7355f177ee4f5e336d362dd8f4f8ad4c5109.tar.bz2 nutyx-pakxe-2d2e7355f177ee4f5e336d362dd8f4f8ad4c5109.tar.xz nutyx-pakxe-2d2e7355f177ee4f5e336d362dd8f4f8ad4c5109.zip |
pygobject#2.26.0-1, maj port
Diffstat (limited to 'extra/pygobject/Pkgfile')
-rw-r--r-- | extra/pygobject/Pkgfile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/pygobject/Pkgfile b/extra/pygobject/Pkgfile index 6d24fa2eb..be2826ab0 100644 --- a/extra/pygobject/Pkgfile +++ b/extra/pygobject/Pkgfile @@ -2,18 +2,20 @@ # URL: http://www.pygtk.org/ # Maintainer: NutyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: python, glib, gobject-introspection +# Depends on: python2, glib, gobject-introspection name=pygobject -version=2.20.0 +version=2.26.0 release=1 source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.bz2) build() { cd $name-$version - ./configure --prefix=/usr + PYTHON=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|" } |