mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
21 lines
662 B
Bash
21 lines
662 B
Bash
# Maintainer: Joao Cordeiro <jlcordeiro at gmail dot com>
|
|
# Contributor: Vasily Shevkunov <vasily@shevkunov.name>
|
|
|
|
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
|
|
}
|