1 #Maintainer: Gergely Imreh <imrehg(at)gmail(dot)com>
2 pkgname=python2-simplegeo-shared-git
5 pkgdesc="SimpleGeo Python client library, shared components"
6 depends=('python2' 'python-oauth2' 'python2-httplib2' 'python2-ipaddr' 'pyutil' 'python-simplejson')
8 makedepends=('git' 'python2-distribute')
10 url="http://simplegeo.com"
12 provides=('python2-simplegeo-shared')
16 _gitroot=https://github.com/simplegeo/python-simplegeo-shared.git
17 _gitname=python-simplegeo-shared
22 if [ -d ${_gitname} ]; then
23 cd "${_gitname}" || return 1
24 git pull origin || return 1
27 git clone ${_gitroot} || return 1
30 msg "GIT checkout done or server timeout"
32 cd "${srcdir}/${_gitname}"
33 python2 setup.py install --root "${pkgdir}" || return 1