7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
18 lines
490 B
Ruby
18 lines
490 B
Ruby
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
|
|
|
|
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
|