aboutsummaryrefslogtreecommitdiffstats
path: root/main/midori/APKBUILD
blob: 93d5520ae184c0c468ccd4480582caa41d2215eb (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
52
53
54
55
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=midori
pkgver=0.5.2
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="LGPL2+"
depends="
	desktop-file-utils
	hicolor-icon-theme
	"
makedepends="
	gettext-dev
	git
	intltool
	libidn-dev
	libnotify-dev
	librsvg-dev
	libunique3-dev
	libxml2-dev
	paxctl
	pkgconfig
	python
	sqlite-dev
	vala
	webkitgtk-dev
	"
subpackages="$pkgname-lang"
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/} \
		--disable-zeitgeist \
		--enable-addons \
		--enable-unique \
		--enable-nls \
		--enable-gtk3\
		|| 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="e2c1e0b617397ec9f9eef4fdb47b3565  midori-0.5.2.tar.bz2"
sha256sums="a9c5cb4606e8e4967a2b980caa9ada25623c50d927a302b6bf73eeac5815c97c  midori-0.5.2.tar.bz2"
sha512sums="4fdd93107db9fb472fc55a75e363395a49852970c2619d291e0117ac882412cfa2be9c4fef82ab7cd79935d4aebc0af78e990e370388304343543c7b86c6d8f1  midori-0.5.2.tar.bz2"