SHARE
TWEET

Untitled

a guest Feb 12th, 2012 72 Never
  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. }
RAW Paste Data
Top