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 Oct 19th, 2010  |  syntax: None  |  size: 0.84 KB  |  views: 116  |  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. # Contributer: N30N <archlinux@alunamation.com>
  2.  
  3. pkgname=canto
  4. pkgver=0.7.10
  5. pkgrel=2
  6. pkgdesc="A ncurses Atom/RSS/RDF aggregator"
  7. url="http://codezen.org/canto/"
  8. license="GPL"
  9. arch=("i686" "x86_64")
  10. depends=("ncurses" "python2" "python-chardet")
  11. optdepends=("python-feedparser: instead of builtin")
  12. makedepends=("python")
  13. source=(http://codezen.org/static/${pkgname}-${pkgver}.tar.gz)
  14. md5sums=("541d1770496866a5d513305e118b2ab5")
  15. conflicts=("canto-git")
  16.  
  17. build() {
  18.         cd ${pkgname}-${pkgver}
  19.         msg "Patching files to use python2."
  20.         sed -i 's:/usr/bin/python:/usr/bin/env python2:' uninstall.py
  21.         sed -i 's:/usr/bin/env python:/usr/bin/env python2:' setup.py
  22.         sed -i 's:/usr/bin/env python:/usr/bin/env python2:' bin/canto*
  23.         msg "Starting build process."
  24.         python setup.py install --root=${pkgdir} || return 1
  25. }
  26.  
  27. # vim: set noet ff=unix:
clone this paste RAW Paste Data