summaryrefslogtreecommitdiffstats
path: root/pygobject/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'pygobject/Pkgfile')
-rw-r--r--pygobject/Pkgfile6
1 files changed, 1 insertions, 5 deletions
diff --git a/pygobject/Pkgfile b/pygobject/Pkgfile
index 2bd9a0a..f621863 100644
--- a/pygobject/Pkgfile
+++ b/pygobject/Pkgfile
@@ -7,7 +7,7 @@
name=pygobject
version=2.28.6
-release=3
+release=4
source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
build() {
@@ -18,9 +18,5 @@ build() {
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/gtk-doc
- # Conflit avec pygobject3
- rm -rf $PKG/usr/share/pygobject/xsl
- rm -rf $PKG/usr/lib/python2.7/site-packages/gtk-2.0/dsextras.{py,pyc,pyo}
-
find $PKG/usr/share/pygobject -name '*.py' | xargs sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|"
}