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

Alexander Rødseth arodseth at archlinux.org
Thu Nov 13 10:05:15 UTC 2014


    Date: Thursday, November 13, 2014 @ 11:05:14
  Author: arodseth
Revision: 122504

upgpkg: midori-gtk3 0.5.9-1

Modified:
  midori-gtk3/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-13 09:57:13 UTC (rev 122503)
+++ PKGBUILD	2014-11-13 10:05:14 UTC (rev 122504)
@@ -7,7 +7,7 @@
 # Contributor: Bartłomiej Piotrowski <barthalion at gmail.com>
 
 pkgname=midori-gtk3
-pkgver=0.5.8
+pkgver=0.5.9
 pkgrel=1
 pkgdesc='Lightweight web browser (GTK3)'
 arch=('x86_64' 'i686')
@@ -17,7 +17,7 @@
 conflicts=('midori')
 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'
@@ -24,17 +24,22 @@
             'aria2: download utility')
 options=('!emptydirs')
 source=("http://www.midori-browser.org/downloads/${pkgname/-gtk3}_${pkgver}_all_.tar.bz2")
-sha256sums=('af19135fd4c4b04345df4d3592e7939c20f9b40eaca24550e6cb619751aa9381')
+sha256sums=('b1a5309d926ea4e394f4a39552023b0427cf23053793d325e3daefceed282ec0')
 
 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:


More information about the arch-commits mailing list