# Maintainer: Natanael Copa pkgname=midori pkgver=9.0 pkgrel=1 pkgdesc="A lightweight web browser based on Gtk WebKit" url="https://www.midori-browser.org" arch="all" 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"