homebrew-core/Formula/task.rb
2015-10-14 08:48:55 +01:00

29 lines
1,020 B
Ruby

class Task < Formula
desc "Feature-rich console based todo list manager"
homepage "https://www.taskwarrior.org/"
url "https://taskwarrior.org/download/task-2.4.4.tar.gz"
sha256 "7ff406414e0be480f91981831507ac255297aab33d8246f98dbfd2b1b2df8e3b"
head "https://git.tasktools.org/scm/tm/task.git", :branch => "2.4.5", :shallow => false
bottle do
revision 1
sha256 "f32ef8aafe33589609712f0d5440132ccb4a4e491736bfa493434ffef6bbf3d4" => :el_capitan
sha256 "b192c1ca2c8565c98de6afed5d597f51766144ca7ccbf258b8acdbdb2e6238b7" => :yosemite
sha256 "0e06847ebc7af012af157ed90129c632a60eec6c335f0d05feeafb9793ec874b" => :mavericks
end
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"
fish_completion.install "scripts/fish/task.fish"
end
test do
system "#{bin}/task", "--version"
end
end