homebrew-core/Formula/g2.rb

36 lines
1.7 KiB
Ruby

class G2 < Formula
desc "Friendly git client"
homepage "https://orefalo.github.io/g2/"
url "https://github.com/orefalo/g2/archive/v1.1.tar.gz"
sha256 "bc534a4cb97be200ba4e3cc27510d8739382bb4c574e3cf121f157c6415bdfba"
license "MIT"
head "https://github.com/orefalo/g2.git", branch: "master"
bottle do
sha256 cellar: :any_skip_relocation, arm64_big_sur: "e41e0df4fe1e129acfc132add642219228b9bafafef804ad6528e8a42b3ed7d6"
sha256 cellar: :any_skip_relocation, big_sur: "08b8c6538687a2994e8e589ed75b64e161e9865b49a039a7b6d622186450350a"
sha256 cellar: :any_skip_relocation, catalina: "e9350d1a2278bc954807b784dd6f34044ba69bcbeef3c91410f4bac9affdc0ca"
sha256 cellar: :any_skip_relocation, mojave: "64107e7e395a373205f8e4953082f90e86736b27c01198836ea3915a40362dc5"
sha256 cellar: :any_skip_relocation, high_sierra: "172bb101cd40ab61ea7a6ce85798556da5bbb980ae050023e8e8ff9f4d2e2c52"
sha256 cellar: :any_skip_relocation, sierra: "6bd5de5c1e1335c1be168bf5eec800c8ac5d0b4d16534a7e686d9c4e8d396417"
sha256 cellar: :any_skip_relocation, el_capitan: "45c2029c3fc914866ba32966a78cba39b8415ba7f191cd1eaaf604db798b6d3f"
sha256 cellar: :any_skip_relocation, x86_64_linux: "81a6e2069539abef38ec1f36d7c7f6db1a088d775c56e61c786bcaad4d1a6e25"
sha256 cellar: :any_skip_relocation, all: "81a6e2069539abef38ec1f36d7c7f6db1a088d775c56e61c786bcaad4d1a6e25"
end
def install
system "make", "prefix=#{prefix}", "install"
end
def caveats
<<~EOS
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