cask "anka-build-cloud-registry" do arch arm: "arm64", intel: "amd64" version "1.45.0-8cf8fb10" sha256 arm: "caaeed8570932d83ae55f54abfa353cff24c9e24e559c37006b0a177d0010acd", intel: "bf84f49b74246ecaa317a39622ec1c4a70f68ff1af4e0c2b1c538772ce710f7d" 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 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