homebrew-core/Formula/redo.rb

19 lines
470 B
Ruby

require 'formula'
class Redo < Formula
homepage 'https://github.com/apenwarr/redo'
url 'https://github.com/apenwarr/redo/archive/redo-0.11.tar.gz'
sha1 '8b26d7c694b91a85d3f252e4ad85ca740ff0babd'
resource 'docs' do
url 'https://github.com/apenwarr/redo.git', :branch => 'man'
end
def install
ENV['PREFIX'] = prefix
system "./redo install"
rm share/'doc/redo/README.md' # lets not have two copies
man1.install resource('docs')
end
end