# $Id: PKGBUILD 280081 2016-11-07 18:29:34Z heftig $ # Maintainer (Arch): Jan de Groot # Maintainer: Márcio Silva pkgname=evolution-data-server pkgver=3.22.2 pkgrel=1.nonprism1 pkgdesc="Centralized access to appointments and contacts, without libgdata support" url="https://wiki.gnome.org/Apps/Evolution" arch=(i686 x86_64) depends=(gnome-online-accounts nss krb5 libgweather libical db libphonenumber) makedepends=(intltool gperf gobject-introspection vala gtk-doc boost git gnome-common) license=(GPL) replaces=("${pkgname}-coherence" "${pkgname}-nonprism") conflicts=("${pkgname}-coherence" "${pkgname}-nonprism") _commit=828f3d954f3ca5ded5bc89c0231ff74a58114dcf # tags/EVOLUTION_DATA_SERVER_3_22_2^0 source=("git://git.gnome.org/evolution-data-server#commit=$_commit") sha256sums=('SKIP') pkgver() { cd $pkgname git describe --tags | sed 's/^EVOLUTION_DATA_SERVER_//;s/_/./g;s/-/+/g' } prepare() { cd $pkgname NOCONFIGURE=1 ./autogen.sh } build() { cd $pkgname ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --with-openldap=yes \ --libexecdir=/usr/lib/evolution-data-server \ --with-krb5=/usr --with-libdb=/usr --with-phonenumber=/usr \ --without-libgdata \ --disable-google \ --enable-vala-bindings --disable-uoa \ --enable-gtk-doc sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } check() { cd $pkgname # libedata-book tests fail because they try to # mkdir /usr/lib/evolution-data-server/camel-providers make check -k || : } package() { cd $pkgname make DESTDIR="$pkgdir" install }