This commit is contained in:
Jonathan Terhorst 2016-04-07 09:37:43 -07:00 committed by Andrew Janke
parent a4e9b38e56
commit 4b0765d111

23
Formula/vis.rb Normal file
View file

@ -0,0 +1,23 @@
class Vis < Formula
desc "Vim-like text editor"
homepage "https://github.com/martanne/vis"
url "https://github.com/martanne/vis/archive/v0.2.tar.gz"
sha256 "3e5b81d760849c56ee378421e9ba0f653c641bf78e7594f71d85357be99a752d"
head "https://github.com/martanne/vis.git"
depends_on "lua" => :recommended
depends_on "libtermkey"
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
`vis -v 2>&1`
end
end