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

todotxt

By: yugrotavele on Jan 26th, 2013  |  syntax: None  |  size: 0.75 KB  |  views: 65  |  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. # lifehacker.com's todo.sh script for maintaining a todo.txt file
  2.  
  3. # Maintainer: David Rosenstrauch <darose@darose.net>
  4.  
  5. pkgname=todotxt
  6. _pkgname=todo.txt_cli
  7. pkgver=2.9
  8. pkgrel=1
  9. pkgdesc="lifehacker.com's todo.sh script for maintaining a todo.txt file"
  10. url="http://ginatrapani.github.com/todo.txt-cli/"
  11. depends=('bash')
  12. install=$pkgname.install
  13. source=(http://cloud.github.com/downloads/ginatrapani/todo.txt-cli/$_pkgname-$pkgver.tar.gz)
  14. md5sums=('e815c63ab4e46285f0b0a30b7bac7918')
  15. arch=('any')
  16. license="GPL"
  17.  
  18. package() {
  19.   cd $srcdir/$_pkgname-$pkgver
  20.   install -D -m644 todo.cfg $pkgdir/usr/share/$pkgname/todo.cfg
  21.   install -D -m755 todo.sh $pkgdir/usr/bin/todo.sh
  22.   install -D -m644 todo_completion $pkgdir/etc/bash_completion.d/todo
  23. }
clone this paste RAW Paste Data