1 # Maintainer: Jason <jason52lh AT gmail com>
2 pkgname=libappindicator-bzr
3 _realname=${pkgname/-bzr}
6 pkgdesc="A library to allow applications to export a menu into the Unity Menu bar. Based on KSNI it also works in KDE and will fallback to generic Systray support if none of those are available. (Canonical Ayatana Project)"
8 url="https://launchpad.net/$_realname"
10 groups=('lh' 'ayatana')
11 depends=('libindicator' 'libdbusmenu')
12 makedepends=('gnome-common' 'gtk-doc' 'vala' 'bzr' 'pygtk')
13 provides=("$_realname" 'python-appindicator')
14 conflicts=("$_realname" 'python-appindicator')
18 _bzrtrunk=lp:$_realname
22 for i in ${startdir}/patches/*.patch; do
31 msg "Connecting to the server...."
33 if [ ! -d ./${_bzrmod} ]; then
34 bzr branch ${_bzrtrunk} ${_bzrmod} -q -r ${pkgver}
36 cd ${_bzrmod} && bzr pull -r ${pkgver}
40 msg "BZR checkout done or server timeout"
41 msg "Starting make..."
43 rm -rf ${_bzrmod}-build
44 cp -r ${_bzrmod} ${_bzrmod}-build
49 NOCONFIGURE=1 ./autogen.sh
50 ./configure --prefix=/usr --libexecdir=/usr/lib/$_realname --enable-gtk-doc-html=no --disable-static --enable-introspection
54 cd ${srcdir}/${_bzrmod}-build
55 make DESTDIR="$pkgdir" install