You are not logged in.
I'm reading the O'Reilly book on XMPP and it use a python library called "SleekXMPP". It doesn't seem to be in the AUR, so I decided to try my hand at a PKGBUILD. How does this one look?
# Contributor: Jonathan Arnold <jdarnold@buddydog.org
pkgname=python-sleekxmpp
pkgver=20100209
pkgrel=1
pkgdesc="An XMPP library written for Python 3.x (with 2.6 compatibility)"
arch=(any)
url="http://github.com/fritzy/SleekXMPP"
license=('GPL2')
depends=('python')
makedepends=('git')
options=(!emptydirs)
md5sums=() #generate with 'makepkg -g'
_gitroot="git://github.com/fritzy/SleekXMPP.git"
_gitname="sleekxmpp"
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
msg "GIT checkout done or server timeout"
cd "$srcdir/$_gitname"
python setup.py install --root=$pkgdir/ --optimize=1 || return 1
}Offline
You can also delete the empty md5sums array. Otherwise, looks fine.
Offline
Thanks for the input. I'll put it up on the AUR now.
Offline