summaryrefslogtreecommitdiffstats
path: root/extra/midori/Pkgfile
blob: 5ead579147e1e8b7dda9dcc16cddba81c21b1179 (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, gtk3, gnutls, gstreamer, hicolor-icon-theme, intltool, libgcrypt, libgpg-error, libtasn1, libsoup, libxml2,  webkit, xdg-utils, librsvg, hunspell, xorg-libxt,nettle,vala
# Run on: atk,cairo,dbus,dbus-glib,expat,fontconfig,glitz,gtk3,libnotify,libsoup,libxml2,pango,webkit,nettle

name=midori
version=0.4.1
release=1
source=(http://archive.xfce.org/src/apps/$name/0.4/$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-addons \
		--disable-hildon \
		--disable-unique \
		--enable-nls \
		--enable-docs \
		--enable-apidocs
	make
   	 make DESTDIR=$PKG install
}