git-extras 1.5.0

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Doc Walker 2012-03-17 05:33:22 -05:00 committed by Adam Vandenberg
parent 8b71b8cd86
commit 13a36dcbd0

View file

@ -2,17 +2,12 @@ require 'formula'
class GitExtras < Formula
homepage 'https://github.com/visionmedia/git-extras'
url 'https://github.com/visionmedia/git-extras/tarball/1.4.0'
sha1 '9471ae1df77e561980983e2ae7e7d1f6b74e95bc'
url 'https://github.com/visionmedia/git-extras/tarball/1.5.0'
sha1 '60e0ad00b046d76b3c111d9cc3d02aa4191e450a'
head 'https://github.com/visionmedia/git-extras.git', :branch => 'master'
def install
# fixed in HEAD to respect PREFIX
inreplace 'Makefile' do |s|
s.gsub! '/etc/bash_completion.d', "#{prefix}/etc/bash_completion.d"
end unless ARGV.build_head?
system "make", "PREFIX=#{prefix}", "install"
end
end