2010-08-12 23:28:42 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class GitExtras < Formula
|
2010-11-10 18:16:28 +00:00
|
|
|
homepage 'https://github.com/visionmedia/git-extras'
|
2013-07-09 21:20:54 +00:00
|
|
|
url 'https://github.com/visionmedia/git-extras/archive/1.9.0.tar.gz'
|
|
|
|
sha1 'c4ebdeceaf4cdfde424beef4edca51aa050297f9'
|
2012-02-10 03:13:12 +00:00
|
|
|
|
2011-05-27 05:02:55 +00:00
|
|
|
head 'https://github.com/visionmedia/git-extras.git', :branch => 'master'
|
2010-08-12 23:28:42 +00:00
|
|
|
|
2012-07-16 22:24:56 +00:00
|
|
|
# Don't take +x off these files
|
|
|
|
skip_clean 'bin'
|
|
|
|
|
2010-08-12 23:28:42 +00:00
|
|
|
def install
|
2012-07-16 22:24:56 +00:00
|
|
|
inreplace 'Makefile', %r|\$\(DESTDIR\)(?=/etc/bash_completion\.d)|, '$(DESTDIR)$(PREFIX)'
|
2012-02-10 03:13:12 +00:00
|
|
|
system "make", "PREFIX=#{prefix}", "install"
|
2010-08-12 23:28:42 +00:00
|
|
|
end
|
|
|
|
end
|