1 # Maintainer: Jonathan Arnold <jdarnold@buddydog.org
3 pkgname=python-sleekxmpp
6 pkgdesc="An XMPP library written for Python 3.x (with 2.6 compatibility)"
8 url="http://github.com/fritzy/SleekXMPP"
13 optdepends=('python-dnspython-git: SRV support')
15 _gitroot="git://github.com/fritzy/SleekXMPP.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"
31 cd "$srcdir/$_gitname"
32 python setup.py install --root=$pkgdir/ --optimize=1 || return 1