homebrew-core/Formula/task.rb

19 lines
490 B
Ruby
Raw Normal View History

2009-12-28 14:59:52 +00:00
require 'formula'
class Task <Formula
url 'http://www.taskwarrior.org/download/task-1.9.2.tar.gz'
homepage 'http://www.taskwarrior.org/'
md5 'be98cc74fe03b8336250e0b7ed3cd8c7'
skip_clean :all
2009-12-28 14:59:52 +00:00
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
2009-12-28 14:59:52 +00:00
system "make install"
# Install the bash completion file
(etc+'bash_completion.d').install 'scripts/bash/task_completion.sh'
2009-12-28 14:59:52 +00:00
end
end