contrib/PKGBUILD
author Alexander Solovyov <alexander@solovyov.net>
Tue, 29 Mar 2011 10:31:33 +0200
changeset 187 5e96ab1087da
parent 176 e167305851a0
permissions -rw-r--r--
that would be 2.2, add info to changelog

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