1 # Contributor: kaivalagi <m_buck@hotmail.com>
3 pkgname=conkygooglereader-bzr
6 pkgdesc="Provides Google reader info, for use in Conky."
8 url="https://code.launchpad.net/~conky-companions/+junk/conkygooglereader"
10 depends=('python2' 'python-keyring')
12 install=$pkgname.install
15 _bzrbranch=lp:~conky-companions/+junk
16 _bzrmod=conkygooglereader
20 msg "Connecting to the server...."
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
31 python setup.py build || return 1
32 python setup.py install --root=$pkgdir || return 1
33 install -D -m644 README $pkgdir/usr/share/conkygooglereader/README || return 1