contrib/PKGBUILD
author Alexander Solovyov <alexander@solovyov.net>
Thu, 18 Nov 2010 22:19:30 +0100
changeset 137 3b2fcbad96d7
parent 133 04535357557e
child 140 e58718b57d98
permissions -rw-r--r--
fix sysname to not display full path to command

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

pkgname=python-opster
pkgver=0.9.12
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=('eed94b4cd16752e426d115cb0843f1d2')

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