git-extras 1.7.0 (includes bash completions)
Closes Homebrew/homebrew#13436. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This commit is contained in:
parent
979ed58475
commit
f1b910c7f8
1 changed files with 12 additions and 2 deletions
|
@ -2,12 +2,22 @@ require 'formula'
|
|||
|
||||
class GitExtras < Formula
|
||||
homepage 'https://github.com/visionmedia/git-extras'
|
||||
url 'https://github.com/visionmedia/git-extras/tarball/1.5.0'
|
||||
sha1 '60e0ad00b046d76b3c111d9cc3d02aa4191e450a'
|
||||
url 'https://github.com/visionmedia/git-extras/tarball/1.7.0'
|
||||
sha1 '939a9a736b5ecd3dae98eb16104f4e109bdf2f70'
|
||||
|
||||
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
|
||||
|
||||
def caveats; <<-EOS.undent
|
||||
Bash completion has been installed to:
|
||||
#{etc}/bash_completion.d
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue