homebrew-core/Formula/g2.rb

25 lines
587 B
Ruby
Raw Normal View History

require 'formula'
class G2 < Formula
desc "Friendly git client"
homepage 'http://orefalo.github.io/g2/'
2013-08-05 16:52:31 +00:00
url 'https://github.com/orefalo/g2/archive/v1.1.tar.gz'
sha1 'e225d21623e6884a9e99a92f43cdd750068ad211'
head 'https://github.com/orefalo/g2.git'
def install
system "make", "prefix=#{prefix}", "install"
end
def caveats; <<-EOS.undent
2013-08-05 17:29:46 +00:00
To complete the installation:
. #{prefix}/g2-install.sh
NOTE: This will install a new ~/.gitconfig, backing up any existing
file first. For more information view:
#{prefix}/README.md
EOS
end
end