# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=evolution-ews pkgver=3.34.4 pkgrel=0 pkgdesc="MS Exchange integration through Exchange Web Services" url="https://wiki.gnome.org/Apps/Evolution/EWS" arch="all !s390x" # missing evolution on s390x license="LGPL-2.1-or-later" depends="evolution" makedepends="cmake gtk-doc intltool glib-dev gettext-dev evolution-data-server-dev evolution-dev libmspack-dev uhttpmock-dev" options="!check" # fail in docker due to port restrictions subpackages="$pkgname-lang" source="https://download.gnome.org/sources/evolution-ews/${pkgver%.*}/evolution-ews-$pkgver.tar.xz" build() { mkdir -p "$builddir"/build cd "$builddir"/build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_TESTS=TRUE \ .. make } check() { make -C build test } package() { make -C build DESTDIR="$pkgdir" install } sha512sums="397dd89c81c986501aaf5c0460735577ebe2aa0bfe549359073e211e912e3622c7ba61eb90898ec00a06bb1c4d02a565446a3b0620ff8515088d706d5c246c91 evolution-ews-3.34.4.tar.xz"