# Maintainer: shahid # Contributor: Emmanuel Gil Peyrot pkgbase=pure-python-otr pkgname=$pkgbase-git pkgver=105.fc9b640 pkgrel=1 pkgdesc="A pure python implementation of the OTR encryption protocol." arch=('any') url="https://github.com/afflux/$pkgbase" depends=('python' 'python-crypto>=2.1') makedepends=('git') license=('LGPL3') source=("git+git://github.com/afflux/${pkgbase}.git") md5sums=('SKIP') pkgver() { cd "$pkgbase" echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) } package() { cd "$pkgbase" python setup.py install --root="$pkgdir/" --optimize=1 }