diff options
| author | theunraveler | 2010-05-25 13:53:31 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2010-05-25 13:00:55 -0700 |
| commit | 6e5b83c3b0e94c0ee721d87eca64c0e9cbe5d163 (patch) | |
| tree | bd07c98f4150eccb9294d6166abd6ed3808dffda | |
| parent | 1748cd3de8f51b0ee6d62d5304b3d8a9feaee4d1 (diff) | |
| download | homebrew-6e5b83c3b0e94c0ee721d87eca64c0e9cbe5d163.tar.bz2 | |
task.rb - also install bash completion script.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Also, clean up formula to Homebrew style
| -rw-r--r-- | Library/Formula/task.rb | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/Library/Formula/task.rb b/Library/Formula/task.rb index b2d1e8aba..75d7071f7 100644 --- a/Library/Formula/task.rb +++ b/Library/Formula/task.rb @@ -1,19 +1,21 @@ require 'formula' class Task <Formula - @url='http://www.taskwarrior.org/download/task-1.9.1.tar.gz' - @homepage='http://www.taskwarrior.org/' - @md5='f486d06a9440a7034516de2a31659d3a' + url 'http://www.taskwarrior.org/download/task-1.9.1.tar.gz' + homepage 'http://www.taskwarrior.org/' + md5 'f486d06a9440a7034516de2a31659d3a' + + def skip_clean? path + true + end def install system "./configure", "--disable-debug", - "--prefix=#{prefix}", - "--disable-dependency-tracking" - + "--disable-dependency-tracking", + "--prefix=#{prefix}" system "make install" - end - - def skip_clean? path - true + + # Install the bash completion file + (etc+'bash_completion.d').install 'scripts/bash/task_completion.sh' end end |
