homebrew-core/Formula/redo.rb
Nick Stenning 52d6c2b359 redo: fix broken md5
Closes Homebrew/homebrew#7951.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-10-03 14:40:55 -07:00

23 lines
565 B
Ruby

require 'formula'
class RedoDocs < Formula
head 'https://github.com/apenwarr/redo.git', {:using => :git, :branch => 'man' }
version 'foo'
end
class Redo < Formula
version '0.06'
url "https://github.com/apenwarr/redo/zipball/redo-#{version}"
homepage 'https://github.com/apenwarr/redo'
md5 '28c32ca00bb4d884e0d87c89808771a6'
def install
ENV['PREFIX'] = prefix
system "./redo install"
rm share/:doc/:redo/'README.md' # lets not have two copies
RedoDocs.new('redodocs').brew do |formula|
man1.install Dir['*']
end
end
end