homebrew-core/Formula/ack.rb
Mike McQuaid 6bcc3b44a0 ack 2.04
2013-04-27 13:29:37 +01:00

17 lines
413 B
Ruby

require 'formula'
class Ack < ScriptFileFormula
homepage 'http://beyondgrep.com/'
url 'https://github.com/petdance/ack2/archive/2.04.tar.gz'
sha1 'b9241ea000b089609d7e62f241c1ef7ad0d70cc6'
def install
bin.install "garage/ack-#{version}" => "ack"
system "pod2man", "#{bin}/ack", "ack.1"
man1.install "ack.1"
end
test do
system "#{bin}/ack", 'brew', '/usr/share/dict/words'
end
end