homebrew-core/Formula/task.rb
2015-10-12 23:40:51 +02:00

29 lines
1.1 KiB
Ruby

class Task < Formula
desc "Feature-rich console based todo list manager"
homepage "http://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
sha256 "e839d0aad5c613f3c0adba981020c1b67b968868d56e5f722d5c3a8ea64e29d7" => :el_capitan
sha256 "d88850d6183ecb96ce63d1a0601591262eb5675dfa786eba2d244f857dffa55e" => :yosemite
sha256 "f160b9ff4cd55935c35a636257f8745acde5e8a45d9ece951173330ad98b4def" => :mavericks
sha256 "aeae5194ecd2e3324d9bc925e5b9b8968063978a03a78d5c977da0fdba77d81c" => :mountain_lion
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