1 # Maintainer: Michal Gawronski <dinth1906@gmail.com>
3 pkgname=xchat-indicator-bzr
7 pkgdesc="Plugin to make XChat use the messaging indicator (Canonical Ayatana Project)"
9 url="https://launchpad.net/xchat-indicator"
11 depends=('libindicate' 'libdbusmenu' 'ido' 'xchat-gnome')
12 makedepends=('libindicator' 'bzr')
13 provides=('xchat-indicator')
14 conflicts=('xchat-indicator')
18 _bzrbranch=lp:xchat-indicator
19 _bzrmod=xchat-indicator
24 msg "Connecting to the server...."
26 if [ ! -d ./${_bzrmod} ]; then
27 bzr co ${_bzrbranch} ${_bzrmod}
32 msg "BZR checkout done or server timeout"
33 msg "Starting make..."
35 [ -d ./${_bzrmod}-build ] && rm -rf ./${_bzrmod}-build
36 cp -r ./${_bzrmod} ./${_bzrmod}-build
39 ./autogen.sh || return 1
40 ./configure --disable-static --prefix=/usr || return 1
42 make DESTDIR="$pkgdir" install || return 1