# Contributor: William Pitcock # Maintainer: William Pitcock pkgname=evolution-data-server pkgver=3.22.1 pkgrel=0 pkgdesc="data server for evolution" url="http://projects.gnome.org/evolution" arch="all" license="GPL" depends= depends_dev="libgdata-dev db-dev gcr-dev libical-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" install="" subpackages="$pkgname-dev $pkgname-lang" source="http://download.gnome.org/sources/evolution-data-server/${pkgver%.*}/evolution-data-server-${pkgver}.tar.xz iconv-10646.patch " builddir="${srcdir}/${pkgname}-${pkgver}" build() { cd "$builddir" DATADIRNAME=share \ ac_cv_libiconv_utf8=yes \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --disable-goa \ --disable-uoa \ --disable-weather \ --disable-google-auth \ || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="e2fe485a91a64ec5ffb0b3ffa91ecc23 evolution-data-server-3.22.1.tar.xz 1f27af1c7111fb803264e7663a07fa36 iconv-10646.patch" sha256sums="5ea1a25c26c2b5587b912661fc0eadf0ef8bc89ec01be9bb23cfffdf30ab41d9 evolution-data-server-3.22.1.tar.xz 613b6323500ff7f194b44e0eb52cf52ecd6da0b341e97b0d28cb572d66aa92cf iconv-10646.patch" sha512sums="bc3484d303d529c4f45152850465f628d426cfea7d3711bdf7bcb63905a8e81130aa4f00e6c33ae99ff0e35a943454cd6be267545b8008d657f792fb3755ba81 evolution-data-server-3.22.1.tar.xz d27f89cd27e17cada8fde114a675de8e883e0e77a368ac10051e238d2962234797bfaedc20d5480fd3729099c677cb73e36f45e40e1707c0135ec0323d37da96 iconv-10646.patch"