homebrew-core/Formula/redo.rb
2011-03-12 11:55:06 -08:00

23 lines
563 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 '7af7d8a639943731bb0370427b55bf10'
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