# Maintainer: Silvio Fricke # Contributor: _pkgname=evolution pkgname=$_pkgname-git pkgver=3.50.0.r036.g51bfea8671 pkgrel=1 pkgdesc="Manage your email, contacts and schedule - git version" arch=(i686 x86_64) license=(GPL) depends=( cmark dconf evolution-data-server gnome-autoar gnome-desktop gspell libcanberra libchamplain libnotify libpst libytnef nss ) makedepends=(dconf desktop-file-utils docbook-xsl hicolor-icon-theme highlight itstool networkmanager ) optdepends=('highlight: text highlight plugin') options=('!emptydirs' 'debug' 'strip') url="https://wiki.gnome.org/Apps/Evolution" conflicts=('evolution' 'evolution-bogofilter' 'evolution-spamassassin') replaces=('evolution' 'evolution-bogofilter' 'evolution-spamassassin') provides=('evolution' 'evolution-bogofilter' 'evolution-spamassassin') install=$_pkgname.install source=(evolution::git+https://gitlab.gnome.org/GNOME/evolution.git) sha256sums=('SKIP') pkgver() { cd $srcdir/$_pkgname git describe --long | awk -F '-' '/-/{ printf "%s.r%3.3d.%s\n", $1, $2, $3 }' } build() { cd $srcdir/$_pkgname [ ! -d build ] && mkdir build cd build cmake .. -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIBEXEC_INSTALL_DIR=/usr/lib \ -DSYSCONF_INSTALL_DIR=/etc \ -DENABLE_CONTACT_MAPS=ON \ -DENABLE_GTK_DOC=OFF \ -DENABLE_PLUGINS=all \ -DENABLE_SMIME=ON \ -DENABLE_WEATHER=ON \ ninja } package() { cd $srcdir/$_pkgname/build DESTDIR="$pkgdir" ninja install }