diff options
Diffstat (limited to 'xfce/midori/Pkgfile')
-rwxr-xr-x | xfce/midori/Pkgfile | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/xfce/midori/Pkgfile b/xfce/midori/Pkgfile index d6ef0f9a0..e7b23fb22 100755 --- a/xfce/midori/Pkgfile +++ b/xfce/midori/Pkgfile @@ -6,21 +6,23 @@ # Run on: atk,cairo,dbus,dbus-glib,expat,fontconfig,glitz,gtk,libnotify,libsoup,libunique,libxml2,pango,webkit name=midori -version=0.2.9 +version=0.3.3 release=1 -source=(http://archive.xfce.org/src/apps/$name/0.2/$name-$version.tar.bz2) +source=(http://archive.xfce.org/src/apps/$name/0.3/$name-$version.tar.bz2) build() { -unset MAKEFLAGS -cd $name-$version - ./configure --prefix=/usr \ - --enable-libidn \ - --enable-addons \ - --disable-hildon \ - --disable-vala \ - --enable-unique \ - --enable-nls - make - make DESTDIR=$PKG install + cd $name-$version + export PYTHON=/usr/bin/python2 + sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" wscript waf + + ./configure --prefix=/usr --jobs=${MAKEFLAGS/-j/} \ + --enable-libidn \ + --enable-addons \ + --disable-hildon \ + --disable-vala \ + --enable-unique \ + --enable-nls + make + make DESTDIR=$PKG install } |