Skip to content

Instantly share code, notes, and snippets.

@zachlatta
Created February 19, 2014 20:18
Show Gist options
  • Save zachlatta/9100656 to your computer and use it in GitHub Desktop.
Save zachlatta/9100656 to your computer and use it in GitHub Desktop.
Updated gsutil PKGBUILD
pkgname=gsutil
pkgver=v3.31
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' 'python2-crcmod' 'python2-pyopenssl' 'python2-google-api-python-client' 'python2-boto')
makedepends=('python2-distribute')
source=('http://commondatastorage.googleapis.com/pub/gsutil.tar.gz')
md5sums=('f2490042de4fb14637630b2359568f13')
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