class Gpscripts < Formula desc "GlobalProtect Automation Scripts for macOS (gpstatus, gplogin, gpdisconnect, gpupdatepw)" homepage "https://github.com/wrenchpilot/gpscripts" url "https://github.com/wrenchpilot/gpscripts/archive/refs/heads/master.tar.gz" version "0.0.0" sha256 738c10c6a404aceed196ccae2d757b50eb88fdba72c72f712208417c877d54ce depends_on :macos def install bin.install "gpstatus" bin.install "gplogin" bin.install "gpdisconnect" bin.install "gpupdatepw" doc.install "README.md" if File.exist?("README.md") end def caveats <<~EOS gpscripts nutzt macOS Keychain für Credentials/Config (GlobalProtect / GlobalProtect-Config). Das Setup (Username/Portal/Passwort) ist im Projekt-README beschrieben. EOS end test do system "#{bin}/gpstatus", "--help" end end