7c7e9e5066
to the one linked from the project homepage
25 lines
873 B
Ruby
25 lines
873 B
Ruby
class Ranger < Formula
|
|
desc "File browser"
|
|
homepage "http://ranger.nongnu.org/"
|
|
url "http://ranger.nongnu.org/ranger-1.8.1.tar.gz"
|
|
sha256 "1433f9f9958b104c97d4b23ab77a2ac37d3f98b826437b941052a55c01c721b4"
|
|
head "https://github.com/ranger/ranger.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "53183d431e6bcf9cf49a462130fb5e0929a4bf557a2d109c354e3194bfd36cc0" => :sierra
|
|
sha256 "224dce8bf10cb4f29a182e00d8a684a388f5dc1544f427149ee85e050c07a833" => :el_capitan
|
|
sha256 "224dce8bf10cb4f29a182e00d8a684a388f5dc1544f427149ee85e050c07a833" => :yosemite
|
|
end
|
|
|
|
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
|