# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=evolution-data-server pkgver=3.32.2 pkgrel=0 pkgdesc="data server for evolution" url="https://projects.gnome.org/evolution" arch="all" license="GPL" options="suid !check" depends_dev="libgdata-dev db-dev gcr-dev icu-dev" makedepends="$depends_dev gperf flex bison glib-dev gtk+3.0-dev libsecret-dev libsoup-dev libxml2-dev nss-dev sqlite-dev krb5-dev gnu-libiconv-dev openldap-dev json-glib-dev webkit2gtk-dev libgweather-dev cmake libical-dev libcanberra-dev vala gobject-introspection-dev" subpackages="$pkgname-dev $pkgname-lang" source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz" prepare() { default_prepare mkdir -p "$builddir"/build } build() { cd "$builddir"/build CFLAGS="$CFLAGS -I/usr/include/gnu-libiconv" \ cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_GOA=OFF \ -DENABLE_UOA=OFF \ -DENABLE_INTROSPECTION=ON \ -DENABLE_VALA_BINDINGS=ON \ .. make } package() { cd "$builddir"/build make DESTDIR="$pkgdir" install } sha512sums="e1e3f24572cdbc0c12ff9f99fb230096e7a3cd5937525f9c91b7dbd58e6d2699e5e6ca801b7d4e8fe887a07a6f9ee3d12a157f447307167edce068e0afdc9341 evolution-data-server-3.32.2.tar.xz"