homebrew-core/Formula/ranger.rb
EricFromCanada f63d3c204b ranger 1.9.3
Closes #48473.

Signed-off-by: Alexander Bayandin <a.bayandin@gmail.com>
2020-01-02 18:14:05 +00:00

20 lines
568 B
Ruby

class Ranger < Formula
desc "File browser"
homepage "https://ranger.github.io"
url "https://ranger.github.io/ranger-1.9.3.tar.gz"
sha256 "ce088a04c91c25263a9675dc5c43514b7ec1b38c8ea43d9a9d00923ff6cdd251"
head "https://github.com/ranger/ranger.git"
bottle :unneeded
def install
man1.install "doc/ranger.1"
libexec.install "ranger.py", "ranger"
bin.install_symlink libexec+"ranger.py" => "ranger"
doc.install "examples"
end
test do
assert_match version.to_s, shell_output("script -q /dev/null #{bin}/ranger --version")
end
end