17 lines
513 B
Ruby
17 lines
513 B
Ruby
require 'formula'
|
|
|
|
class GitExtras < Formula
|
|
homepage 'https://github.com/visionmedia/git-extras'
|
|
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
|
|
end
|