# $Id: PKGBUILD 108852 2014-04-05 12:09:16Z alucryd $ # Maintainer: Maxime Gauduin # Contributor : sebikul # Contributor : Massimiliano Torromeo pkgname=geary pkgver=0.6.0 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=('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") sha256sums=('44ad1dc2c81c50006c751f8e72aa817f07002188da4c29e158060524a1962715') 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}='FALSE' make } package() { cd ${pkgname}-${pkgver}/build make DESTDIR="${pkgdir}" install } # vim: ts=2 sw=2 et: