summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/midori/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/libre/midori/PKGBUILD b/libre/midori/PKGBUILD
index e91a69716..36763d94f 100644
--- a/libre/midori/PKGBUILD
+++ b/libre/midori/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 108939 2014-04-07 21:17:17Z arodseth $
+# $Id: PKGBUILD 122502 2014-11-13 09:57:02Z arodseth $
# Maintainer (Arch): Alexander Rødseth <rodseth@gmail.com>
# Contributor (Arch): Andreas Radke <andyrtr@archlinux.org>
# Contributor (Arch): rabyte <rabyte.at.gmail.dot.com>
@@ -7,7 +7,7 @@
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=midori
-pkgver=0.5.8
+pkgver=0.5.9
pkgrel=1.parabola1
pkgdesc='Lightweight web browser (GTK2), without non-privacy search providers'
arch=('x86_64' 'i686')
@@ -17,11 +17,11 @@ install='midori.install'
replaces=(${pkgname}-libre)
conflicts=(${pkgname}-libre)
depends=('libzeitgeist' 'webkitgtk2' 'libnotify' 'libxss' 'hicolor-icon-theme' 'desktop-file-utils' 'libunique')
-makedepends=('bzr' 'python2' 'intltool' 'vala' 'librsvg' 'cmake')
+makedepends=('bzr' 'python2' 'intltool' 'vala' 'librsvg' 'cmake' 'ninja')
optdepends=('aria2: download utility')
options=('!emptydirs')
source=("http://www.midori-browser.org/downloads/${pkgname}_${pkgver}_all_.tar.bz2")
-sha256sums=('af19135fd4c4b04345df4d3592e7939c20f9b40eaca24550e6cb619751aa9381')
+sha256sums=('b1a5309d926ea4e394f4a39552023b0427cf23053793d325e3daefceed282ec0')
prepare() {
# remove non-privacy search providers
@@ -43,14 +43,15 @@ prepare() {
}
build() {
+ cd "$pkgname-$pkgver"
mkdir -p build
cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
- make
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -G Ninja
+ ninja
}
package() {
- make -C build DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C "$pkgname-$pkgver/build" install
}
# vim:set ts=2 sw=2 et: