summaryrefslogtreecommitdiffstats
path: root/xfce/midori/Pkgfile
blob: b06a8dc95e5bbcc8b64d1cd78eb5469871541ddc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Description: Navigateur Internet base sur GTK2 et WebKit
# URL: http://www.twotoasts.de/index.php?/pages/midori_summary.html
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: atk, cairo, desktop-file-utils, enchant, fontconfig, gtk, gnutls, gstreamer, hicolor-icon-theme, intltool, libgcrypt, libgpg-error, libtasn1, libsoup, libunique, libxml2,  webkit, xdg-utils, librsvg, hunspell, xorg-libxt
# Run on: atk,cairo,dbus,dbus-glib,expat,fontconfig,glitz,gtk,libnotify,libsoup,libunique,libxml2,pango,webkit

name=midori
version=0.3.5
release=1
source=(http://archive.xfce.org/src/apps/$name/0.3/$name-$version.tar.bz2)

build() {
	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
}