# Maintainer: Jan Alexander Steffens (heftig) # Contributor: Ionut Biru pkgname=evolution-ews pkgver=3.48.1 pkgrel=1 pkgdesc="MS Exchange integration through Exchange Web Services" url="https://wiki.gnome.org/Apps/Evolution/EWS" arch=(x86_64) license=(LGPL2.1) depends=( evolution libmspack ) makedepends=( cmake git intltool ninja python systemd ) _commit=4468f359068cbef208657a715f0e1a8814a245e8 # tags/3.48.1^0 source=("git+https://gitlab.gnome.org/GNOME/evolution-ews.git#commit=$_commit") b2sums=('SKIP') pkgver() { cd $pkgname git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g' } prepare() { cd $pkgname } build() { local cmake_options=( -DCMAKE_INSTALL_PREFIX=/usr -DLIBEXEC_INSTALL_DIR=/usr/lib -DSYSCONF_INSTALL_DIR=/etc ) cmake -S $pkgname -B build -G Ninja "${cmake_options[@]}" cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } # vim:set sw=2 sts=-1 et: