homebrew-core/Formula/neatvi.rb

25 lines
732 B
Ruby

class Neatvi < Formula
desc "ex/vi clone for editing bidirectional uft-8 text"
homepage "http://repo.or.cz/w/neatvi.git"
url "git://repo.or.cz/neatvi.git",
:tag => "05", :revision => "ed2e096607df03ce155e4c6ab786f8b697799988"
head "git://repo.or.cz/neatvi.git"
bottle do
cellar :any_skip_relocation
sha256 "4af6bb9a7d0b654f929665393e97e250b34eb6b678d107d36143f524f7dea173" => :sierra
sha256 "0dcdf4372cf9a0c3d837df0471511838539c6250351c93711a981444ab1bb11d" => :el_capitan
sha256 "c715f3a039031f83bd71eb6ce21caedba923ad3d78692df24ccfd9ed80b1b099" => :yosemite
end
def install
system "make"
bin.install "vi" => "neatvi"
end
test do
pipe_output("#{bin}/neatvi", ":q\n")
end
end