summaryrefslogtreecommitdiffstats
path: root/x11/midori/APKBUILD
blob: e345494aa9f6fbb81d702d714ba29d57aef65ea2 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=midori
pkgver=0.1.9
pkgrel=0
pkgdesc="A lightweight web browser based on Gtk WebKit"
url="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
license="GPL"
depends="
	desktop-file-utils
	hicolor-icon-theme
	"
makedepends="
	git
	intltool
	pkgconfig
	python
	gettext-dev
	libidn-dev
	libxml2-dev
	webkit-dev
	sqlite-dev
	paxctl
	"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
source="http://archive.xfce.org/src/apps/midori/0.1/$pkgname-$pkgver.tar.bz2
	$install"

build () 
{ 
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--jobs=${MAKEFLAGS/-j/} \
		--enable-libidn \
		--enable-sqlite \
		--enable-addons \
		--disable-hildon \
		--disable-unique \
		--enable-nls \
		|| return 1
	make || return 1
	make DESTDIR="$pkgdir" install || return 1
	# PAX does not like the JIT
	paxctl -c -m "$pkgdir"/usr/bin/midori
}
md5sums="faf5295091f47372352840b84c422149  midori-0.1.9.tar.bz2
a373e86256d1cd179791e486d2862d44  midori.post-install
a373e86256d1cd179791e486d2862d44  midori.post-upgrade
e962d246f1861faf94b70b37b0d3ef66  midori.post-deinstall"