task.rb - also install bash completion script.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Also, clean up formula to Homebrew style
master
theunraveler 2010-05-25 13:53:31 -05:00 committed by Adam Vandenberg
parent 09a18f1f9f
commit ea1a580e9d
1 changed files with 13 additions and 11 deletions

View File

@ -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 install
system "./configure", "--disable-debug",
"--prefix=#{prefix}",
"--disable-dependency-tracking"
system "make install"
end
def skip_clean? path
true
end
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
# Install the bash completion file
(etc+'bash_completion.d').install 'scripts/bash/task_completion.sh'
end
end