homebrew-core/Formula/aha.rb

24 lines
827 B
Ruby
Raw Normal View History

class Aha < Formula
desc "ANSI HTML adapter"
homepage "https://github.com/theZiz/aha"
url "https://github.com/theZiz/aha/archive/0.4.10.5.tar.gz"
sha256 "b2cd7a1a0f7b3a70c37446d7157b4b58e2939535cdd71112a2228b2e78f7e620"
head "https://github.com/theZiz/aha.git"
2014-11-03 01:05:41 +00:00
bottle do
2016-02-23 11:31:58 +00:00
cellar :any_skip_relocation
2017-02-21 12:52:33 +00:00
sha256 "1e6989b80fac995c3fb41edab81c3578daa96bbd8b264d6d76b2300c8e4bb1c7" => :sierra
sha256 "7b967f8817cc0e4de348aaa37f67f91a1a652256b0eca0cf349c4a746e669d0b" => :el_capitan
sha256 "edc535121189e9ba0deb86b0f3828b9478fcf52c7dbdaac7601499b07f9a43e2" => :yosemite
2014-11-03 01:05:41 +00:00
end
def install
system "make", "install", "PREFIX=#{prefix}", "MANDIR=#{man}"
end
test do
2014-05-04 19:12:41 +00:00
out = pipe_output(bin/"aha", "rainpill")
assert_match(/color:purple;">rain.*color:blue;">pill/, out)
end
end