updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / evolution-data-server-nogk / PKGBUILD
blobf3917b3d9e9010b3cbe2234c78b06a560313ea06
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
6 pkgver=1.10.1
7 pkgrel=2
8 pkgdesc="Evolution Data Server provides a central location for addressbook and calendar in the GNOME Desktop. Without support for gnome-keyring"
9 arch=(i686 x86_64)
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')
15 options=('nolibtool')
16 url="http://www.gnome.org"
17 license=(GPL)
18 source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgname}/1.10/${_pkgname}-${pkgver}.tar.bz2)
19 md5sums=('1175bf76756009975f684116e76638c3')
21 build() {
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"|' \
28     -i configure
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 \
33     --with-libdb=/usr
34   make || return 1
35   make DESTDIR=${startdir}/pkg install