contrib/PKGBUILD
author Andrey Vlasovskikh <andrey.vlasovskikh@gmail.com>
Tue, 19 Oct 2010 17:45:55 +0400
changeset 126 7a5c5746d4f0
parent 125 3dc474919a89
child 133 04535357557e
permissions -rw-r--r--
Explicit use of Python 2 for Arch Linux

# Maintainer: Andrey Vlasovskikh <andrey.vlasovskikh@gmail.com>

pkgname=python-opster
pkgver=0.9.11
pkgrel=3
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=('24b2349fa3930eb17e28e6fc7cf78575')

build() {
    cd "$srcdir/opster-$pkgver"
    python2 setup.py build || return 1
    python2 setup.py install --root=$pkgdir --optimize=1 || return 1
}