homebrew-core/Formula/git-extras.rb
Brett Koonce df58d723c4 git-extras 1.8.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-21 20:16:25 -07:00

17 lines
520 B
Ruby

require 'formula'
class GitExtras < Formula
homepage 'https://github.com/visionmedia/git-extras'
url 'https://github.com/visionmedia/git-extras/archive/1.8.0.tar.gz'
sha1 '5a52d3e247a5134c8e2bf89b339a204a7f4ad8e0'
head 'https://github.com/visionmedia/git-extras.git', :branch => 'master'
# Don't take +x off these files
skip_clean 'bin'
def install
inreplace 'Makefile', %r|\$\(DESTDIR\)(?=/etc/bash_completion\.d)|, '$(DESTDIR)$(PREFIX)'
system "make", "PREFIX=#{prefix}", "install"
end
end