homebrew-core/Formula/task.rb
Jeronim Morina 5142678265 task: fix HEAD.
Old head was not pointing to a valid destination. Corrected it according to http://taskwarrior.org/download/#git

Closes Homebrew/homebrew#32868.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-02 11:02:30 -07:00

22 lines
595 B
Ruby

require 'formula'
class Task < Formula
homepage 'http://www.taskwarrior.org/'
url 'http://www.taskwarrior.org/download/task-2.3.0.tar.gz'
sha1 'b5390a1c1232bcb727f5a595ac1141184810d09d'
head 'https://git.tasktools.org/scm/tm/task.git', :branch => '2.4.0', :shallow => false
depends_on "cmake" => :build
depends_on "gnutls" => :optional
def install
system "cmake", ".", *std_cmake_args
system "make install"
bash_completion.install 'scripts/bash/task.sh'
zsh_completion.install 'scripts/zsh/_task'
end
test do
system "#{bin}/task", "--version"
end
end