updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / httpshell / PKGBUILD
blob9fee7f98eceb8750dbd375833a055c2c1ec82a61
1 # $Id$
2 # Maintainer: Fabien Devaux <fdev 31 @ gmail dot com>
3 # Contributor: Chris Longo <chris . longo @ gmail dot com>
4 # NOTE: python-oauth seems lacking so it can use python3
6 pkgname=httpshell
7 provides=('httpsh')
8 _uc_pkg=HttpShell
9 _auth=chrislongo
10 pkgver=0.8.0
11 pkgrel=1
12 pkgdesc="An interactive shell for issuing HTTP commands to a web server or REST API"
13 arch=('any')
14 url="https://github.com/$_auth/$_uc_pkg/"
15 license=('MIT')
16 depends=('python2' 'python2-pygments' 'python2-argparse' 'python2-httplib2' 'python2-oauth2')
17 makedepends=('python2-distribute')
18 source=(http://github.com/downloads/$_auth/$_uc_pkg/${pkgname}-${pkgver}.tar.gz)
19 sha256sums=('a639da2fd3f5b98e064df9a5ca9949f153cc948287075112b1c847c1a9bdda42')
21 build() {
22    cd $_auth-$_uc_pkg-*
23    python2 setup.py build || exit 1
24    python2 setup.py install --root="${pkgdir}" --optimize=1 || exit 1