homebrew-core/Formula/git-ssh.rb
Andrew Janke 3ad9a0896f Change github /tarball/ URLs to /archive/ for formulae A-K
The `brew audit` check complains about the older /tarball/ URL scheme. Update
formulae to use the new /archive/ URL and update the SHA to match.

Closes Homebrew/homebrew#18813.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-28 21:02:11 -07:00

18 lines
549 B
Ruby

require 'formula'
class GitSsh < Formula
homepage 'https://github.com/lemarsu/git-ssh'
url 'https://github.com/lemarsu/git-ssh/archive/v0.2.0.tar.gz'
sha1 'a3014db9ae65fcf135a5224a18313f40aa19c7d5'
def install
# Change loading of required code from libexec location (Cellar only)
inreplace "bin/git-ssh" do |s|
s.sub! /path = .*$/, "path = '#{libexec}'"
end
# Install main script
bin.install "bin/git-ssh"
# Install required code into libexec location (Cellar only)
libexec.install Dir["lib/*"]
end
end