28 lines
1,012 B
Ruby
28 lines
1,012 B
Ruby
class Vifm < Formula
|
|
desc "Ncurses based file manager with vi like keybindings"
|
|
homepage "https://vifm.info/"
|
|
url "https://github.com/vifm/vifm/releases/download/v0.10.1/vifm-0.10.1.tar.bz2"
|
|
sha256 "99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b"
|
|
|
|
bottle do
|
|
sha256 "0495acdf812f89f23c7fafcccef47589249477c5c38dd0e47049c3421edc712a" => :mojave
|
|
sha256 "8371dea589590796e0f1c6b7b5ce263e18b9a1619551d5967deefd5035e512e0" => :high_sierra
|
|
sha256 "ded145b46f48c79712b12e7f8d14ab8b219778fcd6d0b436d0c156dd0b15129d" => :sierra
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--without-gtk",
|
|
"--without-libmagic",
|
|
"--without-X11"
|
|
system "make"
|
|
system "make", "check"
|
|
|
|
ENV.deparallelize { system "make", "install" }
|
|
end
|
|
|
|
test do
|
|
assert_match version.to_s, shell_output("#{bin}/vifm --version")
|
|
end
|
|
end
|