This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

alot PKGBUILD

By: a guest on Nov 25th, 2012  |  syntax: Bash  |  size: 0.83 KB  |  views: 67  |  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: Mark Foxwell <fastfret79@archlinux.org.uk>
  2. # Contributor: Nicolas Pouillard [https://nicolaspouillard.fr]
  3. pkgname=alot
  4. pkgver=0.3.3
  5. pkgrel=3
  6. pkgdesc="A Terminal GUI for notmuch"
  7. arch=('any')
  8. url="https://github.com/pazz/alot"
  9. license=('GPL')
  10. depends=('python2-urwid' 'twisted' 'python2' 'python-magic>=5.04' 'python2-configobj' 'pygpgme' 'notmuch')
  11. source=("https://github.com/pazz/${pkgname}/archive/${pkgver}.tar.gz")
  12. md5sums=('a6cdd3f3b04e8aa8ffbadcadc0cbd807')
  13. sha256sums=('889920f64403288bf3d366c24fd78a6e8e5dd6f6e1dbe96cd28f9ea7d4accb9a')
  14.  
  15. build() {
  16.   cd "${srcdir}/${pkgname}-${pkgver}"
  17.  
  18.   find . -name \*.py | \
  19.     xargs sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
  20.                  -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|"
  21.  
  22.   python2 setup.py install --prefix=${pkgdir}/usr
  23. }
clone this paste RAW Paste Data