excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / h / hedgewars.rb
blob22e61984523ca1d761c30e731d4599a7f180e318
1 cask "hedgewars" do
2   version "1.0.0"
3   sha256 "5a0bdd9bc4cb7beea03b95a2549c1cf994ea8646f6621f5353dd22d79c757404"
5   url "https://www.hedgewars.org/download/releases/Hedgewars-#{version}.dmg"
6   name "Hedgewars"
7   desc "Turn-based strategy, artillery, action and comedy game"
8   homepage "https://hedgewars.org/"
10   livecheck do
11     url "https://hedgewars.org/download.html"
12     regex(%r{href=.*?/Hedgewars[._-]v?(\d+(?:\.\d+)+)\.dmg}i)
13   end
15   app "Hedgewars.app"
17   zap trash: [
18     "~/Library/Application Support/Hedgewars",
19     "~/Library/HTTPStorages/org.hedgewars.desktop",
20     "~/Library/Preferences/org.hedgewars.desktop.plist",
21     "~/Library/Saved Application State/org.hedgewars.desktop.savedState",
22   ]
24   caveats do
25     requires_rosetta
26   end
27 end