summaryrefslogtreecommitdiff
path: root/libre/midori-gtk3/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/midori-gtk3/PKGBUILD')
-rw-r--r--libre/midori-gtk3/PKGBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/libre/midori-gtk3/PKGBUILD b/libre/midori-gtk3/PKGBUILD
index e4bac6b96..430554df0 100644
--- a/libre/midori-gtk3/PKGBUILD
+++ b/libre/midori-gtk3/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 108941 2014-04-07 21:25:27Z arodseth $
+# $Id: PKGBUILD 122504 2014-11-13 10:05:14Z arodseth $
# Maintainer (Arch): Alexander Rødseth <rodseth@gmail.com>
# Contributor (Arch): Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor (Arch): Andreas Radke <andyrtr@archlinux.org>
@@ -8,7 +8,7 @@
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=midori-gtk3
-pkgver=0.5.8
+pkgver=0.5.9
pkgrel=1.parabola1
pkgdesc='Lightweight web browser (GTK3), without non-privacy search providers'
arch=('x86_64' 'i686' 'mips64el')
@@ -19,7 +19,7 @@ replaces=('midori-gtk3-libre' 'midori-libre-gtk3')
conflicts=('midori' 'midori-gtk3-libre' 'midori-libre-gtk3')
provides=('midori')
depends=('libzeitgeist' 'webkitgtk3' 'libnotify' 'libxss' 'hicolor-icon-theme' 'desktop-file-utils' 'libunique3' 'gcr')
-makedepends=('pkg-config' 'bzr' 'python2' 'libxml2' 'gtk3' 'intltool' 'python2-docutils' 'libsoup' 'vala' 'librsvg' 'cmake')
+makedepends=('pkg-config' 'bzr' 'python2' 'libxml2' 'gtk3' 'intltool' 'python2-docutils' 'libsoup' 'vala' 'librsvg' 'cmake' 'ninja')
optdepends=('gst-plugins-base: HTML5 OGG videos support'
'gst-plugins-good: HTML5 H264 and WebM videos support'
'gst-libav: HTML5 H264 videos support'
@@ -27,7 +27,7 @@ optdepends=('gst-plugins-base: HTML5 OGG videos support'
options=('!emptydirs')
# options=('!emptydirs' '!strip') # useful for debbuging see: https://labs.parabola.nu/issues/515
source=("http://www.midori-browser.org/downloads/${pkgname/-gtk3}_${pkgver}_all_.tar.bz2")
-sha256sums=('af19135fd4c4b04345df4d3592e7939c20f9b40eaca24550e6cb619751aa9381')
+sha256sums=('b1a5309d926ea4e394f4a39552023b0427cf23053793d325e3daefceed282ec0')
prepare() {
# remove non-privacy search providers
@@ -49,14 +49,19 @@ prepare() {
}
build() {
+ cd "${pkgname/-gtk3}-$pkgver"
mkdir -p build
cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DUSE_GTK3=1
- make
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DUSE_GTK3=1 \
+ -G Ninja
+ ninja
}
package() {
- make -C build DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C "${pkgname/-gtk3}-$pkgver/build" install
}
# vim:set ts=2 sw=2 et: