1 # Contributor: Adam Lloyd <adam at alloy-d dot net>
2 # Contributor: Rafael G. Martins <rafael at rafaelmartins dot com>
7 pkgdesc="A python wrapper around the Twitter API"
9 url="http://code.google.com/p/python-twitter/"
11 depends=('python2>=2.5' 'python-simplejson' 'python-oauth2' 'python2-httplib2')
12 source=(http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
13 md5sums=('5fe7880c7f8f9f91264db845ced944f0')
15 cd ${srcdir}/${pkgname}-${pkgver}
17 # Fix permissions on egg-info files.
18 chmod go+r python_twitter.egg-info/*
22 python2 setup.py build || return 1
23 python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1