cask "anka-build-cloud-registry" do arch arm: "arm64", intel: "amd64" version "1.47.0-4f4a81ff" sha256 arm: "1d4d522601373ccf606899151534730748f99e1daf2e4e7093fb7b6aecfb266b", intel: "8b3b1793932465d007f76e47616acfa5ec8c4be135a401298b1276c6600ed58b" url "https://downloads.veertu.com/anka/anka-registry-#{arch}-#{version}.pkg" name "Anka Build Cloud Controller" desc "Anka virtual machine registry & API" homepage "https://veertu.com/" livecheck do url "https://veertu.com/downloads/anka-build-cloud-registry-darwin-#{arch}-latest" regex(/anka-registry-#{arch}[._-]?v?(\d+(?:\.\d+)*[._-]\h+)\.pkg/i) strategy :header_match end no_autobump! because: :requires_manual_review pkg "anka-registry-#{arch}-#{version}.pkg" uninstall script: { executable: "/Library/Application Support/Veertu/Anka/tools/registry/uninstall.sh", args: ["-f"], sudo: true, } zap trash: "/Library/Logs/Veertu/AnkaRegistry", rmdir: "/Library/Application Support/Veertu/Anka/anka-registry" caveats do license "https://veertu.com/terms-and-conditions/" end end