Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

python-twitter PKGBUILD

By: a guest on Dec 21st, 2010  |  syntax: Bash  |  size: 0.74 KB  |  hits: 54  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Adam W. Lloyd <lloyda2 at rpi dot edu>
  2. # Contributor: Rafael G. Martins <rafael at rafaelmartins dot com>
  3.  
  4. pkgname=python-twitter
  5. pkgver=0.8
  6. pkgrel=1
  7. pkgdesc="A python wrapper around the Twitter API"
  8. arch=(any)
  9. url="http://code.google.com/p/python-twitter/"
  10. license=('APACHE')
  11. depends=('python>=2.5' 'python-simplejson' 'python-oauth2' 'python-httplib2')
  12. source=(http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
  13. md5sums=('bf21ea168419c00fe7590eab5d7a8acc')
  14. build() {
  15.   cd ${srcdir}/${pkgname}-${pkgver}
  16.  
  17.   # Fix permissions on egg-info files.
  18.   chmod go+r python_twitter.egg-info/*
  19.  
  20.   touch CHANGES
  21.  
  22.   python setup.py build || return 1
  23.   python setup.py install --prefix=/usr --root="$pkgdir" || return 1
  24. }