blob: ccf8fca2fad06d52974f236f9bf97840de7b02a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
require 'formula'
class Redo < Formula
homepage 'https://github.com/apenwarr/redo'
url 'https://github.com/apenwarr/redo/archive/redo-0.11.tar.gz'
sha1 'f9f939e599047d9dc7fdadacc3308c6722f3a512'
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
|