homebrew-core/Formula/tldr.rb
Daniel Compton 3b3786d006 tldr 1.3.0 (new formula)
Closes #4637.

Signed-off-by: Zhiming Wang <zmwangx@gmail.com>
2016-09-12 13:04:01 -04:00

18 lines
533 B
Ruby

class Tldr < Formula
desc "Simplified and community-driven man pages"
homepage "https://tldr-pages.github.io"
url "https://github.com/tldr-pages/tldr-cpp-client/archive/v1.3.0.tar.gz"
sha256 "6210ece3f5d8f8e55b404e2f6c84be50bfdde9f0d194a271bce751a3ed6141be"
head "https://github.com/tldr-pages/tldr-cpp-client.git"
depends_on "pkg-config" => :build
depends_on "libzip"
def install
system "make", "PREFIX=#{prefix}", "install"
end
test do
assert_match "brew", shell_output("#{bin}/tldr brew")
end
end