Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 22nd, 2014  |  syntax: None  |  size: 1.55 KB  |  views: 134  |  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. # Maintener: sputnick <gilles *DOT* quenot *AT* gmail *DOT* com>
  2. # Contributor: ianux <ianux@free.fr>
  3.  
  4. pkgname=weboob-git
  5. pkgver=0.i.24.gdec4d08
  6. pkgrel=1
  7. pkgdesc="Weboob (Web Out Of Browsers) provides several applications to interact with a lot of websites."
  8. url="http://weboob.org"
  9. license=('GPL3')
  10. arch=('i686' 'x86_64')
  11. depends=('phonon-qt4' 'which' 'python2-pyqt' 'python2-elementtidy' 'python2-prettytable'
  12.          'python2-dateutil' 'python2-feedparser' 'python2-gdata' 'python2-html2text'
  13.          'python2-imaging' 'python2-lxml' 'python2-mechanize' 'python2-simplejson'
  14.          'python2-pysqlite' 'python2-yaml' 'python2-cssselect' 'python2-requests')
  15. makedepends=('git' 'python2-distribute' 'setuptools')
  16. optdepends=('gnupg: check for repository authenticity'
  17.             'python2-routes: contrib backends'
  18.             'python2-webob: contrib backends'
  19.             'python2-mako: contrib backends'
  20.             'pywebkitgtk: contrib backends'
  21.             'python2-pillow: PIL replacement'
  22.             'python2-termcolor: color formatting'
  23.             'python2-nose: test suite')
  24. conflicts=('weboob')
  25. provides=('weboob')
  26. install="weboob.install"
  27. source=("$pkgname"::'git://git.symlink.me/pub/weboob/devel.git'  "weboob.install")
  28. sha256sums=('SKIP'
  29.             'f2ce3a422ab222eb6a26d1f2c1798441e9e4bfb405db1f8f682d3b7e47c603b9')
  30.  
  31. pkgver() {
  32.     cd ${srcdir}/${pkgname}
  33.     local ver="$(git describe --long)"
  34.     printf "%s" "${ver//-/.}"
  35. }
  36.  
  37. package() {
  38.    cd ${srcdir}/${pkgname}
  39.    python2 setup.py install --qt --xdg --prefix=/usr --root="$pkgdir"
  40. }