summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 40c4cd72447da261cd53672de91421c2a94af864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id$
# Maintainer: Daniel M. Capella <polyzen@archlinux.info>
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
# Contributor: Atlanis <emallson@archlinux.us>

pkgname=python2-oauth2client1412
pkgver=1.4.12
pkgrel=2
pkgdesc='A client library for OAuth 2.0'
arch=('any')
url=https://github.com/google/oauth2client
license=('Apache')
makedepends=('git' 'python2-setuptools' 'python2-httplib2' 'python2-pyasn1'
             'python2-pyasn1-modules' 'python2-rsa' 'python2-six')
optdepends=('python2-gflags: for oauth2client.tools.run function')
source=('git+https://github.com/polyzen/oauth2client#branch=python2-1.4.12')
md5sums=('SKIP')

build() {
  cd oauth2client
  python2 setup.py build
}

package() {
  cd oauth2client
  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
}