Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 12th, 2012  |  syntax: None  |  size: 0.70 KB  |  views: 71  |  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: cuihao <cuihao dot leo at gmail dot com>
  2.  
  3. pkgname=gwibber-service-sina
  4. pkgver=0.9.1
  5. pkgrel=1
  6. pkgdesc='Sina Weibo plugin for Gwibber.'
  7. arch=('any')
  8. url="https://launchpad.net/gwibber-service-sina"
  9. license=('GPL2')
  10. depends=('gwibber')
  11. makedepends=('python-distutils-extra')
  12. source=("$url/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz")
  13. md5sums=('3d6ea761e91baf1a206c3ce8bc85da24')
  14.  
  15. build() {
  16.     cd "$srcdir/$pkgname-$pkgver"
  17.     python2 setup.py install --root="$pkgdir/"
  18.     base64 -d > "$pkgdir/usr/share/gwibber/plugins/sina/data/sina" << HERE
  19. ewogICJTSU5BX09BVVRIX0tFWSI6ICIxNDcyOTcxMzk0IiwKICAi
  20. U0lOQV9PQVVUSF9TRUNSRVQi
  21. OiAiNDk0NDNlYTcyZjc1NDU0ODYxNDNmM2YwNzRiMGI2NmUiCn0K
  22. HERE
  23. }
clone this paste RAW Paste Data