blob: 7b34f3047a42c12f0af4c794de5c5652e190fdff (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=midori
pkgver=8.0
pkgrel=0
pkgdesc="A lightweight web browser based on Gtk WebKit"
url="https://www.midori-browser.org"
arch="all"
license="LGPL-2.0-or-later"
depends=
makedepends="cmake librsvg-dev paxmark python2 vala gtk+3.0-dev gcr-dev
libarchive-dev libunique-dev json-glib-dev webkit2gtk-dev libpeas-dev"
subpackages="$pkgname-lang $pkgname-doc"
install=""
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() {
cd "$builddir"
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
..
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="3a8cbca941637160a41f8a638e2153ddd5d8930a3d26df2031d90de40234743f5663c853ddf655673331b8a9ec07c65d8920768a4744fa5412bc2eddf2b8d81f midori-v8.0.tar.gz"
|