require 'formula' class GitExtras < Formula homepage 'https://github.com/visionmedia/git-extras' url 'https://github.com/visionmedia/git-extras/tarball/0.4.1' sha1 'fdc105a9437296d207eb981ff23440ce8f115034' head 'git://github.com/visionmedia/git-extras.git', :branch => 'master' def install inreplace 'Makefile', '/usr/local', prefix bin.mkpath system "make", "install" end end