# Contributor: William Pitcock # Maintainer: William Pitcock pkgname=evolution-data-server pkgver=3.30.1 pkgrel=1 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" 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 \ .. make } package() { cd "$builddir"/build make DESTDIR="$pkgdir" install } sha512sums="be7b6498542896b9891b3458b8d8e05e004199821ebf822bf50e2753954de0e499af9ad14cfe6eb082fc4edcdb31b16991dd4e745e20f74b1fe34661483fe8bd evolution-data-server-3.30.1.tar.xz"