updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / syncevolution-gtk / PKGBUILD
blob19c256fdf3b453531468389890437d3e30465c11
1 # Contributor: Tom Vincent <http://www.tlvince.com/>
2 # Maintainer:Max Kuchugura <maksvlad-at-ya-dot-ru>
4 pkgname=syncevolution-gtk
5 _pkgname=syncevolution
6 pkgver=1.1.1
7 _pkgver_suf=a
8 pkgrel=1
9 pkgdesc="Provides full two-way synchronization for Evolution via SyncML and \
10          Bluetooth without the Evolution/Gnome dependencies."
11 arch=('i686' 'x86_64')
12 url="http://syncevolution.org/"
13 license=('GPL')
14 depends=('openobex' 'libsoup' 'libgnome-keyring' 'python2' 'intltool')
15 optdepends=('twisted: for built-in SyncML server support'
16             'python2: for built-in SyncML server support'
17             'libnotify: for built-in SyncML server support')
18 makedepends=('autoconf' 'boost' 'pkg-config')
19 provides=('syncevolution')
20 conflicts=('syncevolution' 'syncevolution-git' 'syncevolution-bin')
21 source=(http://downloads.syncevolution.org/syncevolution/sources/$_pkgname-$pkgver$_pkgver_suf.tar.gz)
22 md5sums=('78f73c51e5f16283eb5cf3ed306ccb1f')
24 build() {
25     cd "$srcdir/$_pkgname-$pkgver"
27     ./configure --prefix=/usr \
28         --enable-gui \
29         --enable-bluetooth \
30         --disable-ebook \
31         --disable-ecal \
32         --disable-shared \
33         --enable-dbus-service \
34         || return 1
35     make || return 1
36     make DESTDIR="${pkgdir}" install || return 1
37     ln -s "${pkgdir}/usr/libexec/syncevo-dbus-server" \
38           "${pkgdir}/usr/bin/syncevo-dbus-server"
39     sed -i 's/\/usr\/bin\/python/\/usr\/bin\/python2/' ${pkgdir}/usr/bin/syncevo-phone-config
40     sed -i 's/\/usr\/bin\/python/\/usr\/bin\/python2/' ${pkgdir}/usr/bin/syncevo-http-server