diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..378bc2496b8b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Ainola + +pkgname=python-google-auth-httplib2-git +pkgver=r8.e7cd722 +pkgrel=1 +pkgdesc="An httplib2 transport for google-auth" +arch=('any') +url="https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2" +license=('Apache') +makedepends=('python-setuptools') +depends=('python' 'python-google-auth' 'python-httplib2' 'python-six') +provides=('python-google-auth-httplib2') +source=("git+https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2.git") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/google-auth-library-python-httplib2" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/google-auth-library-python-httplib2" + python setup.py build +} + +package() { + cd "$srcdir/google-auth-library-python-httplib2" + python setup.py install --root="$pkgdir/" --optimize=1 +} |