2012-01-09 05:57:54 +00:00
|
|
|
class Cadubi < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Creative ASCII drawing utility"
|
2016-04-17 19:49:26 +00:00
|
|
|
homepage "https://github.com/statico/cadubi/"
|
2017-01-23 12:30:03 +00:00
|
|
|
url "https://github.com/statico/cadubi/archive/v1.3.4.tar.gz"
|
|
|
|
sha256 "624f85bb16d8b0bc392d761d1121828d09cfc79b3ded5b1220e9b4262924a1a0"
|
2012-01-09 05:57:54 +00:00
|
|
|
|
2015-10-23 08:35:21 +00:00
|
|
|
bottle :unneeded
|
|
|
|
|
2012-01-09 05:57:54 +00:00
|
|
|
def install
|
2015-08-03 12:55:31 +00:00
|
|
|
inreplace "cadubi", "$Bin/help.txt", "#{doc}/help.txt"
|
|
|
|
bin.install "cadubi"
|
|
|
|
doc.install "help.txt"
|
2016-04-22 07:35:20 +00:00
|
|
|
man1.install "cadubi.1"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2018-09-02 19:18:32 +00:00
|
|
|
output = pipe_output("script -q /dev/null #{bin}/cadubi -v", "cat")
|
|
|
|
assert_match "cadubi (Creative ASCII Drawing Utility By Ian) #{version}", output
|
2012-01-09 05:57:54 +00:00
|
|
|
end
|
|
|
|
end
|