contrib/PKGBUILD
author Andrey Vlasovskikh <andrey.vlasovskikh@gmail.com>
Thu, 27 Jan 2011 02:48:28 +0300
changeset 176 e167305851a0
parent 156 aa103491ab43
permissions -rw-r--r--
Arch Linux package for 2.1

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