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

goobook-git PKGBUILD

By: a guest on Aug 25th, 2013  |  syntax: None  |  size: 0.90 KB  |  views: 44  |  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: Scott Hansen (firecat53) firecat4153 at gmail
  2. pkgname=goobook-git
  3. _gitname=mainline
  4. pkgver=1.5
  5. pkgrel=2
  6. pkgdesc="Makes it possible to use your Google Contacts in an MUA such as Mutt. It's use mimics that of abook (somewhat)."
  7. arch=('any')
  8. url="http://goobook.googlecode.com/"
  9. license=('GPL')
  10. conflicts=('goobook')
  11. provides=('goobook')
  12. depends=('python2' 'python2-gdata>=2.0.7' 'python2-setuptools' 'python2-simplejson' 'python2-hcs_utils>=1.3' 'python2-keyring' 'python2-six')
  13. makedepends=('git' 'python2-distribute')
  14. source=("git://gitorious.org/goobook/$_gitname.git")
  15. md5sums=('SKIP')
  16. install=goobook.install
  17.  
  18. pkgver() {
  19.   cd "$_gitname"
  20.   git describe --tags --always | sed 's|-|.|g'
  21. }
  22.  
  23. package() {
  24.   cd "$_gitname"
  25.   sed -ie '58s/distribute/setuptools/' setup.py || return 1
  26.   python2 setup.py install --root="${pkgdir}" --optimize=1 || return 1
  27. }
  28.  
  29. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data