excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / anka-build-cloud-registry.rb
blob242d789bc6cca51698bb5cd23ae6ed5774da95bc
1 cask "anka-build-cloud-registry" do
2   arch arm: "arm64", intel: "amd64"
4   version "1.45.0-8cf8fb10"
5   sha256 arm:   "caaeed8570932d83ae55f54abfa353cff24c9e24e559c37006b0a177d0010acd",
6          intel: "bf84f49b74246ecaa317a39622ec1c4a70f68ff1af4e0c2b1c538772ce710f7d"
8   url "https://downloads.veertu.com/anka/anka-registry-#{arch}-#{version}.pkg"
9   name "Anka Build Cloud Controller"
10   desc "Anka virtual machine registry & API"
11   homepage "https://veertu.com/"
13   livecheck do
14     url "https://veertu.com/downloads/anka-build-cloud-registry-darwin-#{arch}-latest"
15     regex(/anka-registry-#{arch}[._-]?v?(\d+(?:\.\d+)*[._-]\h+)\.pkg/i)
16     strategy :header_match
17   end
19   pkg "anka-registry-#{arch}-#{version}.pkg"
21   uninstall script: {
22     executable: "/Library/Application Support/Veertu/Anka/tools/registry/uninstall.sh",
23     args:       ["-f"],
24     sudo:       true,
25   }
27   zap trash: "/Library/Logs/Veertu/AnkaRegistry",
28       rmdir: "/Library/Application Support/Veertu/Anka/anka-registry"
30   caveats do
31     license "https://veertu.com/terms-and-conditions/"
32   end
33 end