summaryrefslogtreecommitdiffstats
path: root/main/midori/APKBUILD
blob: f00c9e0d54a870ea5753da5fc4fc8a38d953b472 (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
49
50
51
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=midori
pkgver=0.4.0
pkgrel=0
pkgdesc="A lightweight web browser based on Gtk WebKit"
url="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
arch="all"
license="GPL"
depends="
	desktop-file-utils
	hicolor-icon-theme
	"
makedepends="
	gettext-dev
	git
	intltool
	libidn-dev
	libnotify-dev
	librsvg-dev
	libunique-dev
	libxml2-dev
	paxctl
	pkgconfig
	python
	sqlite-dev
	vala
	webkit-dev
	"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
source="http://archive.xfce.org/src/apps/midori/${pkgver%.*}/midori-$pkgver.tar.bz2"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--jobs=${MAKEFLAGS/-j/} \
		--enable-libidn \
		--enable-addons \
		--disable-hildon \
		--enable-unique \
		--enable-nls \
		|| return 1
	make
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	# PAX does not like the JIT
	paxctl -c -m -p "$pkgdir"/usr/bin/midori
}
md5sums="14aa14ccabf3d003903f1584dab15d7a  midori-0.4.0.tar.bz2"