diff options
Diffstat (limited to 'community/geary/PKGBUILD')
-rwxr-xr-x | community/geary/PKGBUILD | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/community/geary/PKGBUILD b/community/geary/PKGBUILD index 501602da5..a0e6f12fe 100755 --- a/community/geary/PKGBUILD +++ b/community/geary/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 107709 2014-03-18 17:01:32Z flexiondotorg $ +# $Id: PKGBUILD 108852 2014-04-05 12:09:16Z alucryd $ # Maintainer: Maxime Gauduin <alucryd@gmail.com> # Contributor : sebikul <sebikul@gmail.com> # Contributor : Massimiliano Torromeo <massimiliano.torromeo@gmail.com> 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 @@ sha256sums=('44ad1dc2c81c50006c751f8e72aa817f07002188da4c29e158060524a1962715') 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 } |