7a99e765b9
Closes Homebrew/homebrew#32533.
24 lines
752 B
Ruby
24 lines
752 B
Ruby
require "formula"
|
|
|
|
class GitExtras < Formula
|
|
homepage "https://github.com/visionmedia/git-extras"
|
|
url "https://github.com/visionmedia/git-extras/archive/2.0.0.tar.gz"
|
|
sha1 "1cb12caffc76d3285d60a3b2b169e3ce6040998c"
|
|
|
|
head "https://github.com/visionmedia/git-extras.git", :branch => "master"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha1 "c8c8a635d8555679422c6d7a06e32e3c08b4e32c" => :mavericks
|
|
sha1 "cb24ad03c24209431b4242f5cfc863046fcfc163" => :mountain_lion
|
|
sha1 "f1bdf0558b495a466eba8be250c6fda94a94c1fc" => :lion
|
|
end
|
|
|
|
# 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
|