updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / python2-commando / PKGBUILD
blob98e40ec1f1960b79e1cda62c561a8cb73b79bd96
1 # Maintainer: Axilleas P <markelos archlinux gr>
3 pkgname=python2-commando
4 pkgver=0.1.2a
5 pkgrel=2
6 pkgdesc="A declarative interface for argparse"
7 arch=('any')
8 url='http://github.com/lakshmivyas/commando'
9 license=('MIT')
10 makedepends=('python2' 'python2-distribute')
11 source=("http://pypi.python.org/packages/source/c/commando/commando-$pkgver.tar.gz")
12 md5sums=('fafd44f3bb36e645e55d854dddb75608')
15 build() {
16   cd "${srcdir}"/commando-"$pkgver"
17   
18   sed -i 's|#!python|#!/usr/bin/env python2|' distribute_setup.py
19   
20   python2 setup.py install --root="${pkgdir}" -O1