tweak 3.02 (new formula)
Closes #46299. Signed-off-by: Rui Chen <rchen@meetup.com>
This commit is contained in:
parent
73a0e45e3d
commit
c52b7a46af
1 changed files with 16 additions and 0 deletions
16
Formula/tweak.rb
Normal file
16
Formula/tweak.rb
Normal 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
|
Loading…
Reference in a new issue