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

Maxime Gauduin alucryd at nymeria.archlinux.org
Sat Apr 5 12:09:05 UTC 2014


    Date: Saturday, April 5, 2014 @ 14:09:05
  Author: alucryd
Revision: 108851

upgpkg: geary 0.6.0-2

Modified:
  geary/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-04-05 08:08:32 UTC (rev 108850)
+++ PKGBUILD	2014-04-05 12:09:05 UTC (rev 108851)
@@ -5,12 +5,12 @@
 
 pkgname=geary
 pkgver=0.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc='A lightweight email client for the GNOME desktop'
 arch=('i686' 'x86_64')
 url='http://www.yorba.org/projects/geary/'
 license=('GPL3')
-depends=('desktop-file-utils' 'gmime' 'libcanberra' 'libgee' 'libnotify' 'libsecret' 'webkitgtk')
+depends=('gnome-keyring' 'gmime' 'libcanberra' 'libgee' 'libnotify' 'webkitgtk')
 makedepends=('cmake' 'gnome-doc-utils' 'gobject-introspection' 'intltool' 'vala')
 install="${pkgname}.install"
 source=("https://download.gnome.org/sources/${pkgname}/${pkgver%.?}/${pkgname}-${pkgver}.tar.xz")
@@ -18,13 +18,19 @@
 
 build() {
   cd ${pkgname}-${pkgver}
-  ./configure \
-    --prefix=/usr
+
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build && cd build
+
+  cmake .. -DCMAKE_BUILD_TYPE='Release' -DCMAKE_INSTALL_PREFIX='/usr' -D{DESKTOP_UPDATE,GSETTINGS_COMPILE{,_IN_PLACE},ICON_UPDATE}='FALSE'
   make
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}/build
+
   make DESTDIR="${pkgdir}" install
 }
 




More information about the arch-commits mailing list