aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/redo.rb
blob: 9afeb6476f715ce4b958e901d0b5bd8871a9edb5 (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 '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