1 # Maintainer: Baptiste Jonglez <zerstorer@free.fr>
5 pkgdesc="Hookbox is a Comet server and message queue that tightly integrates with your existing web application via web hooks and a REST interface."
7 url="http://hookbox.org/"
9 # watch for eventlet package rename (in AUR), since it is a python2 package
10 depends=('python2' 'python-eventlet' 'python2-restkit' 'python2-pygments'
11 'python-paste' 'python2-csp_eventlet' 'python2-rtjp_eventlet')
12 makedepends=('git' 'python2-distribute')
15 _gitroot="http://github.com/hookbox/hookbox.git"
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build"
39 python2 setup.py install --prefix=/usr --root=$pkgdir --optimize=1