3 pkgname=gnome-do-plugins-bzr
4 _realname=gnome-do-plugins
7 pkgdesc="Plugins for GNOME Do"
9 url="https://launchpad.net/~do-plugins"
11 depends=('gnome-do-bzr')
12 makedepends=('bzr' 'intltool' 'monodevelop')
13 optdepends=('banshee: Banshee plugin'
14 'evolution-sharp: Evolution plugin'
15 'flickrnet: Flickr plugin')
17 conflicts=($_realname)
18 options=('!makeflags')
22 _bzrtrunk="lp:do-plugins"
26 export MONO_SHARED_DIR="$srcdir/.wabi"
27 mkdir -p "$MONO_SHARED_DIR"
31 msg "Connecting to the server...."
33 if [ -d $_bzrmod ]; then
35 msg "The local files are updated."
37 bzr co $_bzrtrunk $_bzrmod
40 msg "BZR checkout done or server timeout"
41 msg "Starting make..."
43 rm -rf "$_bzrmod-build"
44 cp -r "$_bzrmod" "$_bzrmod-build"
48 ./configure --prefix=/usr
53 cd "$srcdir/$_bzrmod-build"
55 make DESTDIR="$pkgdir" install
57 rm -rf $pkgdir/usr/lib/gnome-do/plugins/*.mdb