Merge pull request #198799 from Homebrew/bump-huly-0.6.411
[Homebrew/homebrew-cask.git] / Casks / 0 / 0-ad.rb
blob338d07cc0f336b7c6c58ad5d17f66b60026b64f8
1 cask "0-ad" do
2   arch arm: "osx-aarch64", intel: "osx64"
4   version "0.0.26-alpha"
5   sha256 arm:   "3ef9a974ffa6f32577ba54f73b34a9d81a3798781fd8e30ea836626e3fdd3ac5",
6          intel: "f8f0f9237d33f3b2acabc1d5b50ee6da32768231d5610a2ff52d1e65df76bf2c"
8   url "https://releases.wildfiregames.com/0ad-#{version}-#{arch}.dmg",
9       verified: "releases.wildfiregames.com/"
10   name "0 A.D."
11   desc "Real-time strategy game"
12   homepage "https://play0ad.com/"
14   livecheck do
15     url "https://play0ad.com/download/mac/"
16     regex(/href=.*?0ad[._-]v?(.*?)[._-]#{arch}\.dmg/i)
17   end
19   depends_on macos: ">= :sierra"
21   app "0 A.D..app"
23   zap trash: "~/Library/Saved Application State/com.wildfiregames.0ad.savedState"
24 end