blob: 90b464045d1bcb2e8a0dfee0bb3e3dc47431fde1 (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=midori
pkgver=0.5.8
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="
cmake
gettext-dev
git
intltool
libidn-dev
libnotify-dev
librsvg-dev
libsoup-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://www.midori-browser.org/downloads/midori_${pkgver}_all_.tar.bz2
execinfo-detect.patch
"
_builddir="$srcdir"
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DUSE_GTK3=ON \
-DUSE_ZEITGEIST=OFF \
. || return 1
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
# PAX does not like the JIT
paxctl -c -m -p "$pkgdir"/usr/bin/midori
}
md5sums="b89e25e74199d705e74767499a415976 midori_0.5.8_all_.tar.bz2
38acb831d862fa8d9aaa9097b4180840 execinfo-detect.patch"
sha256sums="af19135fd4c4b04345df4d3592e7939c20f9b40eaca24550e6cb619751aa9381 midori_0.5.8_all_.tar.bz2
cc8c5f1402aa7785d67df96f05c72dcbe74c67624834f427e09ceb44ab6d73c7 execinfo-detect.patch"
sha512sums="3c1129324b05301502dfa4ad9147a160c7af269424451d2afba7ff2d455232274b2322699011950355cb406405bf2e38668e9cb56b748ecb87afdfd3a0e375e5 midori_0.5.8_all_.tar.bz2
20cd27a801bf1dcf1c9e4e4642a4a342f5a70e0f97843b155588c80f1e4976dd6f8fd95d5e2d6c416de3f7181d0719e3e04d2d09b6a8d105df4510ef0090bc45 execinfo-detect.patch"
|