Source

argh / archlinux-python / PKGBUILD

# Maintainer: Andrey Mikhaylenko <neithere at gmail dot com>
# Contributor: Fabien Devaux <fdev31 at gmail dot com>
pkgname=python-argh
pkgver=0.16.0
pkgrel=1
pkgdesc="A simple argparse wrapper"
arch=(any)
url="http://bitbucket.org/neithere/argh/"
license=('LGPL3')
depends=('python>=3.2')
makedepends=('python-distribute')
provides=()
conflicts=()
replaces=()
backup=()
options=(!emptydirs)
install=
source=(http://pypi.python.org/packages/source/a/argh/argh-${pkgver}.tar.gz)
md5sums=('d40462e71394b0cbd2941aae3f48cfde')

build() {
   cd "${srcdir}/argh-${pkgver}"
   python setup.py install --root="${pkgdir}" --optimize=1 || exit 1
}