homebrew-core/Formula/task.rb
theunraveler ea1a580e9d task.rb - also install bash completion script.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Also, clean up formula to Homebrew style
2010-05-25 13:00:55 -07:00

21 lines
536 B
Ruby

require 'formula'
class Task <Formula
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",
"--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