Merge pull request #198803 from Homebrew/bump-wizcli-0.69.0
[Homebrew/homebrew-cask.git] / Casks / s / stack.rb
blob21196f796e2fbb41d4cb526cdb0b430cc67d48ff
1 cask "stack" do
2   version "2.11.1-20220906"
3   sha256 "d5b92e5f0070fbd1f92c36be58e0c979efcceb79b685dd7e665ebf165d70a82c"
5   url "https://filehosting-client.transip.nl/packages/stack/v#{version}/macos/stack-v#{version}.dmg"
6   name "STACK"
7   desc "Personal online hard drive to store, view and share files"
8   homepage "https://www.transip.nl/stack/"
10   livecheck do
11     url "https://filehosting-client.transip.nl/packages/stack/"
12     regex(%r{href=["'](?:.*?/)?v?(2(?:[.-]\d+)+)["' >]}i)
13   end
15   app "stack.app"
17   uninstall signal:     ["TERM", "nl.transip.stack"],
18             login_item: "stack",
19             pkgutil:    "nl.transip.stack"
21   zap trash: [
22     "~/Library/Application Support/STACK/",
23     "~/Library/Caches/nl.transip.stack",
24   ]
26   caveats do
27     requires_rosetta
28   end
29 end