1 # $Id: PKGBUILD,v 1.5 2008/11/01 10:59:40 allan Exp $
2 # Maintainer: Donald Ephraim Curtis <dcurtis@gmail.com>
3 # Contributor: Donald Ephraim Curtis <dcurtis@gmail.com>
8 pkgdesc="Lightweight infobar / panel / taskbar written in Python using the XCB library and Cairo"
10 url="http://github.com/decurtis/caw"
12 depends=('python>=2.6' 'xcb-util' 'cairo' 'xpyb' 'pango')
13 makedepends=('python')
14 optdepends=('python-pyalsaaudio')
15 md5sums=('f1f9a2ed80be72ab36e748833618daba')
17 _gitroot="git://github.com/decurtis/caw.git"
22 msg "Connecting to GIT server..."
23 if [[ -d $_gitname ]]; then
24 (cd $_gitname && git pull origin)
26 git clone $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
30 msg "Starting build..."
32 python setup.py install --root=${pkgdir} || return 1