Created
October 13, 2014 08:25
-
-
Save Maistho/f68ac21cd7a0cea74ea1 to your computer and use it in GitHub Desktop.
PKGBUILD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pkgname=gsutil | |
| pkgver=v3.42 | |
| pkgrel=1 | |
| pkgdesc="A command line tool for interacting with cloud storage services." | |
| arch=('any') | |
| url="https://github.com/GoogleCloudPlatform/gsutil" | |
| license=('APACHE') | |
| depends=('python2' 'python2-socksipy-branch>=1.01' 'python2-crcmod>=1.7' 'python2-pyopenssl>=0.13' 'python2-google-api-python-client>=1.1' 'python2-boto>=2.9' 'python2-httplib2>=0.8' 'python2-gflags>=2.0') | |
| makedepends=('python2-distribute') | |
| source=('http://commondatastorage.googleapis.com/pub/gsutil.tar.gz') | |
| md5sums=('c61226560e6ba24b1abfafd22c2fc75a') | |
| package() { | |
| cd "$srcdir/gsutil" | |
| sed -i '1c#!/usr/bin/env python2' gsutil | |
| sed -i '44s/==/>=/' setup.py | |
| sed -i '36s/==/>=/' setup.py | |
| python2 setup.py install --root="$pkgdir" --optimize=1 | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment