summaryrefslogtreecommitdiffstats
path: root/extra/midori/Pkgfile
blob: e0b46cb5de74da0a3f464f2fd32f55c18be9ce41 (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,nettle
# Run on: atk,cairo,dbus,dbus-glib,expat,fontconfig,glitz,gtk,libnotify,libsoup,libunique,libxml2,pango,webkit,nettle

name=midori
version=0.3.6
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
}