[arch-commits] Commit in midori/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Thu Nov 13 09:57:03 UTC 2014


    Date: Thursday, November 13, 2014 @ 10:57:02
  Author: arodseth
Revision: 122502

upgpkg: midori 0.5.9-1

Modified:
  midori/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-13 09:03:53 UTC (rev 122501)
+++ PKGBUILD	2014-11-13 09:57:02 UTC (rev 122502)
@@ -7,7 +7,7 @@
 # Contributor: Andrew Gregory <andrew.gregory.8 at gmail.com>
 
 pkgname=midori
-pkgver=0.5.8
+pkgver=0.5.9
 pkgrel=1
 pkgdesc='Lightweight web browser (GTK2)'
 arch=('x86_64' 'i686')
@@ -15,21 +15,22 @@
 license=('LGPL2.1')
 install='midori.install'
 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')
 
 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:


More information about the arch-commits mailing list