1 # Maintainer: Ng Oon-Ee <ngoonee.talk@gmail.com>
2 # Contributor: M Rawash <mrawash@gmail.com>
6 pkgdesc="Provides full two-way synchornization for Evolution via SyncML"
8 url="http://syncevolution.org/"
10 depends=('evolution' 'python2' 'openobex' 'libnotify')
11 optdepends=('twisted: support for running local http server')
12 makedepends=('autoconf' 'boost' 'docutils' 'intltool' 'gnome-bluetooth')
13 source=(http://downloads.syncevolution.org/syncevolution/sources/$pkgname-$pkgver.tar.gz)
14 md5sums=('2307b863bbb57f9cca9aa3847759502d')
17 cd ${srcdir}/$pkgname-*
18 #patch -p1 < ${srcdir}/0001-syncevo-dbus-server-deal-with-libnotify-0.5.x-compil.patch
19 #patch -Nup1 -i ${srcdir}/gcc-4.6.patch
21 ./configure --prefix=/usr \
25 --enable-dbus-service \
26 --enable-gnome-bluetooth-panel-plugin
31 cd ${srcdir}/$pkgname-*
32 make DESTDIR="${pkgdir}" install
33 sed -i 's/\/usr\/bin\/python/\/usr\/bin\/python2/' ${pkgdir}/usr/bin/syncevo-phone-config
34 sed -i 's/\/usr\/bin\/python/\/usr\/bin\/python2/' ${pkgdir}/usr/bin/syncevo-http-server
35 #install -D -m644 ${pkgdir}/usr/etc/xdg/autostart/syncevo-dbus-server.desktop ${pkgdir}/etc/xdg/autostart/syncevo-dbus-server.desktop
36 rm -R ${pkgdir}/usr/etc