require 'formula' class Gcutil < Formula homepage 'https://developers.google.com/compute/docs/gcutil/' url 'https://dl.google.com/dl/cloudsdk/release/artifacts/gcutil-1.14.2.zip' sha1 'c8263333f68a7bf3468a6ed7cfe56c2390227605' def install libexec.install 'gcutil', 'lib' bin.install_symlink libexec/"gcutil" end test do system "#{bin}/gcutil", "version" end end