# Maintainer: Tom Hacohen pkgname=evolution-etesync-git _pkgname=evolution-etesync pkgver=0.5.1.r0.g8f0a8aa pkgrel=1 pkgdesc="EteSync (end-to-end encrypted sync) plugin for Evolution" arch=(x86_64) url="https://gitlab.gnome.org/nourmat/evolution-etesync/" license=('LGPL') depends=(libgee json-glib evolution-data-server evolution etesync-git) makedepends=(cmake meson ninja vala git intltool) source=("${_pkgname}::git+https://gitlab.gnome.org/GNOME/evolution-etesync.git") sha512sums=('SKIP') pkgver() { cd "$_pkgname" git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd "$_pkgname" mkdir -p build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. make } package() { cd "$_pkgname" cd build make DESTDIR="${pkgdir}" install }