# Maintainer: Andrey Vlasovskikh <andrey.vlasovskikh@gmail.com>
pkgname=python-opster
pkgver=2.1
pkgrel=1
pkgdesc="Python command line parsing speedster"
arch=(any)
url="http://hg.piranha.org.ua/opster/"
license=('BSD')
depends=('python2')
source=("http://pypi.python.org/packages/source/o/opster/opster-$pkgver.tar.gz")
md5sums=('771ff7f0b5de4ed99b2228b5a9f85c0e')
build() {
cd "$srcdir/opster-$pkgver"
python2 setup.py build || return 1
python2 setup.py install --root=$pkgdir --optimize=1 || return 1
}