# Contributor: William Pitcock # Maintainer: William Pitcock pkgname=evolution-data-server pkgver=3.12.2 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 find "$pkgdir" -name '*.la' -delete } md5sums="9fc8fcbed3d38742c907cccad7a5799a evolution-data-server-3.12.2.tar.xz 1f27af1c7111fb803264e7663a07fa36 iconv-10646.patch" sha256sums="91c95e17a8c1cd1086dafcd99a40bdf8f5993770f251f8b0a10e5395e3f5a3b6 evolution-data-server-3.12.2.tar.xz 613b6323500ff7f194b44e0eb52cf52ecd6da0b341e97b0d28cb572d66aa92cf iconv-10646.patch" sha512sums="81e651fbc6f893426c341e48e25ee5ff55821e7a27b391324cc6a1596a5e45e2b75aba21e59cc6f0bb9713d42be628d64e4405a1dbe477ba22a6262ca0ec3a8f evolution-data-server-3.12.2.tar.xz d27f89cd27e17cada8fde114a675de8e883e0e77a368ac10051e238d2962234797bfaedc20d5480fd3729099c677cb73e36f45e40e1707c0135ec0323d37da96 iconv-10646.patch"