1 # $Id: PKGBUILD,v 1.38 2007/04/01 22:49:48 jgc Exp $
2 # Maintainer: Arjan Timmerman <arjan@archlinux.org>
4 pkgname=evolution-data-server-nogk
5 _pkgname=evolution-data-server
8 pkgdesc="Evolution Data Server provides a central location for addressbook and calendar in the GNOME Desktop. Without support for gnome-keyring"
10 depends=('libsoup>=2.2.100-2' 'nss>=3.11.5' 'libgnome>=2.18.0-2' 'libglade>=2.6.0' 'db4.1')
11 makedepends=('perlxml' 'pkgconfig')
12 provides=('evolution-data-server')
13 replaces=('evolution-data-server')
14 conflicts=('evolution-data-server')
16 url="http://www.gnome.org"
18 source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgname}/1.10/${_pkgname}-${pkgver}.tar.bz2)
19 md5sums=('1175bf76756009975f684116e76638c3')
22 [ -z "${GNOMEDIR}" ] && . /etc/profile.d/gnome.sh
24 cd ${startdir}/src/${_pkgname}-${pkgver}
25 # Look for correct DB, we want 4.1
26 sed -e 's|DB_CFLAGS="-I$withval/include"|DB_CFLAGS="-I$withval/include/db4.1"|' \
27 -e 's|DB_LIBS="-L$withval/lib -ldb"|DB_LIBS="-L$withval/lib -ldb-4.1"|' \
29 ./configure --prefix=/usr --sysconfdir=/etc \
30 --localstatedir=/var --with-openldap=yes \
31 --libexecdir=/usr/lib/evolution-data-server-1.2 \
32 --with-krb5=/usr --disable-gnome-keyring \
35 make DESTDIR=${startdir}/pkg install