homebrew-core/Formula/redo.rb

23 lines
520 B
Ruby
Raw Normal View History

2011-01-16 12:46:22 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class RedoDocs < Formula
2012-04-19 02:37:43 +00:00
head 'https://github.com/apenwarr/redo.git', :branch => 'man'
2011-02-13 12:24:12 +00:00
version 'foo'
end
2011-03-10 05:11:03 +00:00
class Redo < Formula
2011-01-16 12:46:22 +00:00
homepage 'https://github.com/apenwarr/redo'
2012-02-10 07:14:22 +00:00
url "https://github.com/apenwarr/redo/tarball/redo-0.11"
sha1 '013f1225c43b25e76b12707846321f2776d441fb'
2011-01-16 12:46:22 +00:00
def install
ENV['PREFIX'] = prefix
system "./redo install"
2012-02-10 07:14:22 +00:00
rm share+'doc/redo/README.md' # lets not have two copies
2011-02-13 12:24:12 +00:00
2012-02-10 07:14:22 +00:00
RedoDocs.new('redodocs').brew do
2011-02-13 12:24:12 +00:00
man1.install Dir['*']
end
2011-01-16 12:46:22 +00:00
end
end