From d30f3b0ed3737130bd3911fb1aff9b0400ddff57 Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Sat, 29 Oct 2016 17:01:58 +0200 Subject: [PATCH] neatvi 04 (import from head-only) Closes #6398. Signed-off-by: Baptiste Fontaine --- Formula/neatvi.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Formula/neatvi.rb diff --git a/Formula/neatvi.rb b/Formula/neatvi.rb new file mode 100644 index 0000000000..94f30329c0 --- /dev/null +++ b/Formula/neatvi.rb @@ -0,0 +1,17 @@ +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 => "04", :revision => "3bf27b04ec791df5a624dc4487422f382b96327c" + + head "git://repo.or.cz/neatvi.git" + + def install + system "make" + bin.install "vi" => "neatvi" + end + + test do + pipe_output("#{bin}/neatvi", ":q\n") + end +end