# $Id: PKGBUILD 105421 2014-02-07 11:42:11Z alucryd $ # Maintainer: Maxime Gauduin # Contributor : sebikul # Contributor : Massimiliano Torromeo pkgname=geary pkgver=0.5.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=('gmime' 'gnome-keyring' 'libcanberra' 'libgee' 'libnotify' 'webkitgtk') makedepends=('cmake' 'gobject-introspection' 'intltool' 'vala') install="${pkgname}.install" source=("https://download.gnome.org/sources/${pkgname}/${pkgver%.?}/${pkgname}-${pkgver}.tar.xz") sha256sums=('12561187c7d2b8aa1115ca52d8959270ff38dd6db774df1cd39c9719a76bb1d1') build() { cd ${pkgname}-${pkgver} 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}='OFF' make } package() { cd ${pkgname}-${pkgver}/build make DESTDIR="${pkgdir}" install } # vim: ts=2 sw=2 et: