# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=evolution-data-server pkgver=3.32.1 pkgrel=2 pkgdesc="data server for evolution" url="https://projects.gnome.org/evolution" arch="x86_64 x86 ppc64le aarch64 armhf armv7" 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 libgdata-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" builddir="${srcdir}/${pkgname}-${pkgver}" 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="bbaf9f1eca40b02978df155a64bbc8da94d56e2e4f4602905784f7974a1622ce0798d1d6ee75a560a4082fb1f8d1b621a2c1dccb0056715345273a265abea96d evolution-data-server-3.32.1.tar.xz"