# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=evolution-ews pkgver=3.48.2 pkgrel=0 pkgdesc="MS Exchange integration through Exchange Web Services" url="https://wiki.gnome.org/Apps/Evolution/EWS" arch="all !s390x !riscv64" # blocked by evolution license="LGPL-2.1-or-later" makedepends=" cmake evolution-data-server-dev evolution-dev gettext-dev glib-dev gtk-doc libmspack-dev libsoup3-dev samurai 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() { cmake -B build -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DENABLE_TESTS=OFF cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" deccc3b442718b03809a7c49297a3f5d7c0bd2873fddfd9f90861a102208759cb95db9bfec1b04cff6932678f58aa81467c48fd4b1e32bb49ed43b9d8c9f4f77 evolution-ews-3.48.2.tar.xz "