From c19f744dcf323a6884ec06bb6b7971d6183e1c0e Mon Sep 17 00:00:00 2001 From: sibel Date: Tue, 19 Apr 2011 07:25:57 +0200 Subject: midori, maj 0.3.3-1 --- xfce/midori/Pkgfile | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'xfce/midori/Pkgfile') 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 } -- cgit v1.2.3-70-g09d2