homebrew-core/Formula/git-extras.rb
Sebastian Staudt 90af820dc8 git-extras 0.9.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-04 10:18:50 -08:00

17 lines
508 B
Ruby

require 'formula'
class GitExtras < Formula
homepage 'https://github.com/visionmedia/git-extras'
url 'https://github.com/visionmedia/git-extras/tarball/0.9.0'
sha1 'ecb0492d50f896a2121d5709cfa2e5d67273e364'
head 'https://github.com/visionmedia/git-extras.git', :branch => 'master'
def install
inreplace 'Makefile' do |s|
s.gsub! '/usr/local', prefix
s.gsub! '/etc/bash_completion.d', "#{prefix}/etc/bash_completion.d"
end
bin.mkpath
system "make", "install"
end
end