1 # Maintainer: crazyelf5
6 pkgdesc="Lightweight clipboard manager written in Vala"
8 url="https://launchpad.net/diodon"
10 depends=('glib2' 'perl' 'python2' 'gcc' 'gettext' 'intltool' 'pkg-config'
11 'gtk3' 'libgee' 'libpeas' 'libxml2' 'libunique3' 'libappindicator')
12 makedepends=('bzr' 'vala')
14 install=$pkgname.install
20 msg "Connecting to Bazaar server...."
22 if [ -d $_bzrmod ]; then
23 cd $_bzrmod && bzr pull $_bzrtrunk -r $pkgver
24 msg "The local files are updated."
27 bzr branch $_bzrtrunk $_bzrmod -r $pkgver
30 msg "BZR checkout done or server timeout"
31 msg "Starting make..."
33 [ -d $_bzrmod-build ] && rm -rf $_bzrmod-build
34 cp -r $_bzrmod $_bzrmod-build
37 python2 ./waf configure --prefix=/usr
38 python2 ./waf build $MAKEFLAGS
42 cd "$srcdir/$_bzrmod-build"
43 python2 ./waf install --destdir="$pkgdir/"
46 # vim:set ts=2 sw=2 et: