# Maintainer: Joao Cordeiro # Contributor: Vasily Shevkunov plugrel=1 pkgname=python-progressbar pkgver=2.2 pkgrel=2 pkgdesc="Text progressbar library for python" arch=('i686' 'x86_64') url="http://pypi.python.org/pypi/progressbar" license=('LGPL') makedepends=('python2') depends=('python2') source=(http://pypi.python.org/packages/source/p/progressbar/progressbar-$pkgver.tar.gz) md5sums=('8ea4e2c17a8ec9e7d153767c5f2a7b28') build() { cd $startdir/src/progressbar-$pkgver sed -i 's|^#!/usr/bin/python$|#!/usr/bin/python2|' progressbar.py python2 setup.py install --root=$startdir/pkg || return 1 }