blob: 4aa5cf72aa6bb84b6becfa8326a92b248d31963e (
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.7
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"/midori-${pkgver}
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="93ceaa9b3b4a65f2a2738293440a8bf5 midori_0.5.7_all_.tar.bz2
ddeee1a42503ca911a9830f096fc64e9 execinfo-detect.patch"
sha256sums="2875bb2aa8a8a0cce342178f04700d4ebccd13bf1b2ad4cb3ba9fec7e2bd0b4d midori_0.5.7_all_.tar.bz2
7e8d1ba1ee7d5e017375465d525b5a3794fb96e5683b14263f9a51ac759c18ce execinfo-detect.patch"
sha512sums="493ace56d144d8b554e1dcd9d93f3ab97167b42f12190418a59b49ae7354a60be89c2611eaee728832f8acec417fe8759f00a0a6a1b210a4896557012e79286a midori_0.5.7_all_.tar.bz2
664837bd52054ac404baad8f63c96a44f8c0c58390ff57a69dae6682a1f9ec1c5a4b8a6907ba38f1349aa3af18380d44399e79ac4269d4ae398b22be72e970a5 execinfo-detect.patch"
|