excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / ampps.rb
blob978dd949525366ef9b290d3a798822f47a92dccb
1 cask "ampps" do
2   version "4.4"
3   sha256 "77b1107c02b7ca33cefa785432867f9706ac3eeaa3ab3723c8b63a1f30cfb28c"
5   url "https://s1.softaculous.com/a/ampps/files/versions/AMPPS-#{version}-x86_64.dmg",
6       verified: "s1.softaculous.com/a/ampps/"
7   name "AMPPS"
8   desc "Software stack for website development"
9   homepage "https://www.ampps.com/"
11   livecheck do
12     url "https://api.ampps.com/download.php?arch=mac64"
13     regex(/AMPPS[._-]v?(\d+(?:\.\d+)+)-x86_64\.dmg/i)
14     strategy :header_match
15   end
17   depends_on macos: ">= :catalina"
19   suite "AMPPS"
21   uninstall_preflight do
22     set_permissions "#{appdir}/AMPPS", "0777"
23   end
25   caveats do
26     requires_rosetta
27   end
28 end