# Contributor: # Maintainer: Natanael Copa pkgname=evolution pkgver=3.30.5 pkgrel=0 pkgdesc="evolution mail client" url="https://projects.gnome.org/evolution" # limited by webkit2gtk arch="all !s390x" license="GPL" 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 glib-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" builddir="${srcdir}/${pkgname}-${pkgver}" build() { mkdir -p "$builddir"/build cd "$builddir"/build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_GNOME_DESKTOP=OFF \ -DENABLE_AUTOAR=OFF \ -DENABLE_LIBCRYPTUI=OFF \ -DENABLE_YTNEF=OFF \ -DENABLE_PST_IMPORT=OFF \ -DENABLE_NSS=ON \ -DENABLE_SMIME=ON \ .. make } check() { cd "$builddir"/build make check } package() { cd "$builddir"/build make DESTDIR="$pkgdir" install } sha512sums="1d776fdb0da4166d9346ad4cd05d7ee050e0bf3ac1edc1f7d3fb4ba8909e35429e8d076a5b6e223f3fc94e2a8ad6337205c1d648220a3fdf593bae64d9c975d1 evolution-3.30.5.tar.xz"