homebrew-core/Formula/task.rb
Jack Nagel a209c24ac2 Automatically append shell completion caveats
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-07 15:32:00 -05:00

18 lines
460 B
Ruby

require 'formula'
class Task < Formula
homepage 'http://www.taskwarrior.org/'
url 'http://www.taskwarrior.org/download/task-2.1.1.tar.gz'
sha1 'c23cb320f3478e37527c5c3cc547286f97bacc7c'
depends_on "cmake" => :build
skip_clean :all
def install
system "cmake", ".", *std_cmake_args
system "make install"
(etc+'bash_completion.d').install 'scripts/bash/task.sh'
(share+'zsh/site-functions').install 'scripts/zsh/_task'
end
end