1 # Maintainer: Michal Gawronski <dinth1906@gmail.com>
2 # Old maintainer: Paul Burton <paulburton89@gmail.com>
3 # Contributor: max.bra <max.bra at alice dot it>
4 # Contributor: nuovodna <nuovodna_at_gmail.com>
6 pkgname=indicator-applet-bzr
10 pkgdesc="A small applet to display information from various applications consistently in the panel. (Canonical Ayatana Project)"
11 arch=('i686' 'x86_64')
12 url="http://launchpad.net/indicator-applet"
14 depends=('gconf' 'gnome-panel' 'indicator-messages-bzr' 'indicator-session-bzr')
16 optdepends=('indicator-sound-bzr' 'indicator-network-bzr' 'indicator-datetime-bzr' 'battery-status-bzr')
17 provides=('indicator-applet')
18 conflicts=('indicator-applet')
19 #install=$pkgname.install
20 #source=(original-user-switch-survive.patch)
21 #md5sums=('cd89d62dccd65fa11590994ba73154f2')
24 _bzrbranch=lp:indicator-applet
25 _bzrmod=indicator-applet
31 msg "Connecting to the server...."
33 if [ ! -d ./${_bzrmod} ]; then
34 bzr co ${_bzrbranch} ${_bzrmod}
39 msg "BZR checkout done or server timeout"
40 msg "Starting make..."
42 [ -d ./${_bzrmod}-build ] && rm -rf ./${_bzrmod}-build
43 cp -r ./${_bzrmod} ./${_bzrmod}-build
46 # patch -Np1 -i "${srcdir}"/original-user-switch-survive.patch || return 1
48 ./autogen.sh || return 1
49 ./configure --prefix=/usr --with-gconf-schema-file-dir=/usr/share/gconf/schemas --disable-static || return 1
51 make DESTDIR="$pkgdir" install || return 1