Date: Friday, October 4, 2013 @ 10:12:15 Author: alucryd Revision: 98023
upgpkg: geary 0.4.0-1 Modified: geary/trunk/PKGBUILD ----------+ PKGBUILD | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-10-04 05:44:18 UTC (rev 98022) +++ PKGBUILD 2013-10-04 08:12:15 UTC (rev 98023) @@ -4,27 +4,32 @@ # Contributor : Massimiliano Torromeo <[email protected]> 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') 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 }
