contrib/PKGBUILD
author Alexander Solovyov <alexander@solovyov.net>
Wed, 23 Mar 2011 09:20:34 +0100
changeset 186 982cea7b69c3
parent 176 e167305851a0
permissions -rw-r--r--
drop excessive exception overriding

# 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
}