1 # Maintainer: Ignacio Losiggio <naquo@geneu.co.cc>
5 pkgdesc="Synaptic file launcher"
7 url="http://launchpad.net/synapse-project"
9 depends=('dbus' 'dbus-glib' 'glibc' 'gtkhotkey' 'json-glib' 'libgee' 'libunique' 'libzeitgeist' 'zeitgeist' 'zeitgeist-datahub' 'vala')
10 makedepends=('bzr' 'gnome-common' 'vala')
11 optdepends=('rythmbox: Rythmbox support' 'SSH: SSH support' 'Banshee: Banshee support' 'Pastebinit: pastebin support' 'bc: calculator support' 'zeitgeist-extensions: For a best integration')
16 _bzrmod="synapse-project"
17 _bzrtrunk="lp:${_bzrmod}"
22 msg "Connecting to Bazaar server...."
24 if [ -d $_bzrmod ] ; then
25 cd ${_bzrmod} && bzr pull -r ${pkgver}
26 msg "The local files are updated."
28 bzr branch ${_bzrtrunk} -r ${pkgver}
31 msg "Bazaar checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_bzrmod-build"
35 cp -r "$srcdir/$_bzrmod" "$srcdir/$_bzrmod-build"
36 cd "$srcdir/$_bzrmod-build"
38 ./autogen.sh --prefix=/usr
44 cd "$srcdir/$_bzrmod-build"
45 make DESTDIR="$pkgdir/" install