# Maintainer: Natanael Copa 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"