tweak 3.02 (new formula)

Closes #46299.

Signed-off-by: Rui Chen <rchen@meetup.com>
This commit is contained in:
mabel 2019-11-04 18:20:41 -05:00 committed by Rui Chen
parent 73a0e45e3d
commit c52b7a46af

16
Formula/tweak.rb Normal file
View file

@ -0,0 +1,16 @@
class Tweak < Formula
desc "Command-line, ncurses library based hex editor"
homepage "https://www.chiark.greenend.org.uk/~sgtatham/tweak/"
url "https://www.chiark.greenend.org.uk/~sgtatham/tweak/tweak-3.02.tar.gz"
sha256 "5b4c19b1bf8734d1623e723644b8da58150b882efa9f23bbe797c3922f295a1a"
def install
system "make"
system "make", "install", "PREFIX=#{prefix}", "MANDIR=#{man1}"
end
test do
output = shell_output("#{bin}/tweak -D")
assert_match "# Default .tweakrc generated", output
end
end