# Contributor: Natanael Copa # Maintainer: Rasmus Thomsen pkgname=evolution pkgver=3.32.4 pkgrel=0 pkgdesc="evolution mail client" url="https://projects.gnome.org/evolution" arch="all" license="GPL-2.0-or-later" depends="highlight gsettings-desktop-schemas" depends_dev="itstool libxml2-dev gcr-dev enchant-dev libcanberra-dev libgweather-dev openldap-dev libnotify-dev" makedepends="$depends_dev gperf flex bison libxml2-utils glib-dev webkit2gtk-dev gtkspell3-dev evolution-data-server-dev gtk+3.0-dev nss-dev cmake gnu-libiconv-dev gsettings-desktop-schemas-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" build() { mkdir -p "$builddir"/build cd "$builddir"/build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DSYSCONF_INSTALL_DIR=/etc \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_GNOME_DESKTOP=OFF \ -DENABLE_AUTOAR=OFF \ -DENABLE_YTNEF=OFF \ -DENABLE_PST_IMPORT=OFF \ -DENABLE_SMIME=ON \ .. make } check() { cd "$builddir"/build make check } package() { cd "$builddir"/build make DESTDIR="$pkgdir" install } sha512sums="a09ef7e39a73449a8a897c430fb97aadac01790d350b21e456d86cc785b67bdc2b542771ef9c6daa160fc0c1946b4a4e3eb9429a8ad1d69284698cbdb0ac4931 evolution-3.32.4.tar.xz"