blob: 1db9dcb584d810b6f8baa85472fed0b016883bae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
require 'formula'
class RedoDocs < Formula
head 'https://github.com/apenwarr/redo.git', {:using => :git, :branch => 'man' }
version 'foo'
end
class Redo < Formula
url "https://github.com/apenwarr/redo/zipball/redo-0.10"
homepage 'https://github.com/apenwarr/redo'
md5 '69b31b105db347968ee9486342fb6c1d'
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
|