updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gsutil / PKGBUILD
blobbd1c7f74e8b8311390d9bd67dd18baf08ba1594c
1 # Maintainer: Julian Brost <julian.brost@googlemail.com>
2 pkgname=gsutil
3 pkgver=20110825
4 pkgrel=1
5 pkgdesc=""
6 arch=('any')
7 url="http://code.google.com/p/gsutil/"
8 license=('APACHE')
9 groups=()
10 depends=('python2')
11 optdepends=()
12 makedepends=()
13 provides=()
14 conflicts=()
15 replaces=()
16 backup=()
17 options=()
18 install=$pkgname.install
19 source=('http://commondatastorage.googleapis.com/pub/gsutil.tar.gz'
20         'gsutil.profile'
21         'gsutil.profile.csh')
22 noextract=()
23 md5sums=('ac8f9f7a20bc177423fd35ce4c87a4da'
24          '742c9d36d08c6244c033c6ea630e5bef'
25          '79bd92be4cca43db8404d1ef59360e74')
27 build() {
28         sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' $srcdir/gsutil/gsutil
31 package() {
32     install -D ${srcdir}/gsutil.profile ${pkgdir}/etc/profile.d/gsutil.sh
33         install -D ${srcdir}/gsutil.profile.csh ${pkgdir}/etc/profile.d/gsutil.csh
35         mkdir -p $pkgdir/opt/
36         cp -r $srcdir/gsutil/ $pkgdir/opt/
37