blob: c200968363221789c415f59a6b264a73034d429e (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=midori
pkgver=9.0
pkgrel=1
pkgdesc="A lightweight web browser based on Gtk WebKit"
url="https://www.midori-browser.org"
arch="all !s390x"
license="LGPL-2.1-or-later"
makedepends="cmake librsvg-dev paxmark python3 vala gtk+3.0-dev gcr-dev
libarchive-dev libunique-dev json-glib-dev webkit2gtk-dev libpeas-dev
ninja"
subpackages="$pkgname-lang $pkgname-doc"
options="!check" # unable to check
source="https://github.com/midori-browser/core/releases/download/v$pkgver/midori-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver/build"
prepare() {
default_prepare
mkdir "$builddir"
}
build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_C_FLAGS="$CFLAGS -fPIC -w" \
-DVALA_CFLAGS="$CFLAGS -fPIC -w" \
-G Ninja \
..
ninja
}
package() {
DESTDIR="$pkgdir" ninja install
}
sha512sums="0cc28643593f53c47b453838152dcbe35a9a287bff38bda830844eb8f321a4f48c99b21e16a9b07bebdd0abc936d88fd759c3222a36325aa667a28ae00148be3 midori-v9.0.tar.gz"
|