diff options
Diffstat (limited to 'community/geary/PKGBUILD')
-rwxr-xr-x | community/geary/PKGBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/community/geary/PKGBUILD b/community/geary/PKGBUILD index 7b8b90f54..4fdcbe03c 100755 --- a/community/geary/PKGBUILD +++ b/community/geary/PKGBUILD @@ -1,30 +1,35 @@ -# $Id: PKGBUILD 89890 2013-05-04 23:09:02Z alucryd $ +# $Id: PKGBUILD 98024 2013-10-04 08:12:31Z alucryd $ # Maintainer: Maxime Gauduin <alucryd at gmail dot com> # Contributor : sebikul <sebikul@gmail.com> # Contributor : Massimiliano Torromeo <massimiliano.torromeo@gmail.com> pkgname=geary -pkgver=0.3.1 -pkgrel=4 +pkgver=0.4.0 +pkgrel=1 pkgdesc="A lightweight email client for the GNOME desktop" arch=('i686' 'x86_64' 'mips64el') url="http://www.yorba.org/projects/geary/" license=('GPL3') -depends=('desktop-file-utils' 'gmime' 'hicolor-icon-theme' 'libcanberra' 'libgee06' 'libgnome-keyring' 'libnotify' 'libunique3' 'webkitgtk3') +depends=('desktop-file-utils' 'gmime' 'hicolor-icon-theme' 'libcanberra' 'libgee' 'libnotify' 'libunique3' 'webkitgtk3') makedepends=('cmake' 'gobject-introspection' 'intltool' 'vala') -install=${pkgname}.install +install="${pkgname}.install" source=("http://www.yorba.org/download/${pkgname}/${pkgver%.?}/${pkgname}-${pkgver}.tar.xz") -sha256sums=('a1bf8cc95022ce0894a340dea0ab94047ac7a7ea0066b8602b136c74e93ffaed') +sha256sums=('eb6418fe48ee2d25350999e6fc8fd23de15da5670569f4c2478f9435fe2a2ae1') build() { - cd "${srcdir}"/${pkgname}-${pkgver} + cd ${pkgname}-${pkgver} - ./configure --prefix=/usr --disable-{desktop-update,icon-update,schemas-compile} + if [[ -d build ]]; then + rm -rf build + fi + mkdir build && cd build + + cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -D{DESKTOP_UPDATE,GSETTINGS_COMPILE{,_IN_PLACE},ICON_UPDATE}='OFF' make } package() { - cd "${srcdir}"/${pkgname}-${pkgver} + cd ${pkgname}-${pkgver}/build make DESTDIR="${pkgdir}" install } |