# Contributor: William Pitcock # Maintainer: William Pitcock pkgname=evolution-data-server pkgver=3.16.1 pkgrel=0 pkgdesc="data server for evolution" url="http://projects.gnome.org/evolution" arch="all" license="GPL" depends= depends_dev="gtk+3.0-dev glib-dev libsoup-dev libxml2-dev libgdata-dev db-dev gcr-dev libsecret-dev libical-dev nss-dev sqlite-dev icu-dev" makedepends="$depends_dev gperf flex bison" install="" subpackages="$pkgname-dev $pkgname-doc $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}" prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" DATADIRNAME=share \ ac_cv_libiconv_utf8=yes \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --disable-goa \ --disable-uoa \ --disable-weather \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="8efeaa1c8a8d7fc84dcbc9d622c92436 evolution-data-server-3.16.1.tar.xz 1f27af1c7111fb803264e7663a07fa36 iconv-10646.patch" sha256sums="04eedf170708c97ca807951f47e6d6f554bee94c35bc279201a54f64b744eb51 evolution-data-server-3.16.1.tar.xz 613b6323500ff7f194b44e0eb52cf52ecd6da0b341e97b0d28cb572d66aa92cf iconv-10646.patch" sha512sums="2b2a22f578783545442054366c2de2e9dd1f741193a6a3b9fc7bd0fe87d064d8a888f3bc76f473c618b76dcec6b6a2b17c2baa1963f9388bf75dba67aac2b9b9 evolution-data-server-3.16.1.tar.xz d27f89cd27e17cada8fde114a675de8e883e0e77a368ac10051e238d2962234797bfaedc20d5480fd3729099c677cb73e36f45e40e1707c0135ec0323d37da96 iconv-10646.patch"