updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / conkypidgin-bzr / PKGBUILD
blobc6a15d499024855a1631f3c47569d3695d0c36d6
1 # Contributor: kaivalagi <m_buck@hotmail.com>
3 pkgname=conkypidgin-bzr
4 pkgver=22
5 pkgrel=1
6 pkgdesc="Provides Pidgin buddy info, for use in Conky."
7 arch=('i686' 'x86_64')
8 url="https://code.launchpad.net/~conky-companions/+junk/conkypidgin"
9 license=('GPL3')
10 depends=('python2')
11 makedepends=('bzr')
12 install=$pkgname.install
13 source=()
14 md5sums=()
15 _bzrbranch=lp:~conky-companions/+junk
16 _bzrmod=conkypidgin
18 build() {
19   cd $srcdir
20   msg "Connecting to the server...."
21     
22   bzr branch $_bzrbranch/$_bzrmod -q -r $pkgver
24   msg "BZR checkout done or server timeout"
25   msg "Starting make..."
27   [ -d ./${_bzrmod}-build ] && rm -rf ./${_bzrmod}-build
28   cp -r ./${_bzrmod} ./${_bzrmod}-build
29   cd ./${_bzrmod}-build
31   python setup.py build || return 1
32   python setup.py install --root=$pkgdir || return 1
33   install -D -m644 README $pkgdir/usr/share/conkypidgin/README || return 1
36 package() {
37   return 0