Merge pull request #198803 from Homebrew/bump-wizcli-0.69.0
[Homebrew/homebrew-cask.git] / Casks / a / arq.rb
blobf39cf4f33e00ba07c250f7f3a271fdf0726d5e00
1 cask "arq" do
2   version "7.34"
3   sha256 "cc463cbcc2c66f8aede4dd5f23df6bfb3a4803bf5085d0006509d6b85c1f9487"
5   url "https://www.arqbackup.com/download/arqbackup/Arq#{version}.pkg"
6   name "Arq"
7   desc "Multi-cloud backup application"
8   homepage "https://www.arqbackup.com/"
10   livecheck do
11     url "https://www.arqbackup.com/download/arqbackup/arq#{version.major}_release_notes.html"
12     regex(/Version\s+v?(\d+(?:\.\d+)+)/i)
13   end
15   auto_updates true
17   pkg "Arq#{version}.pkg"
18   binary "#{appdir}/Arq.app/Contents/Resources/arqc"
20   uninstall launchctl: [
21               "com.haystacksoftware.arqagent",
22               "com.haystacksoftware.ArqMonitor",
23             ],
24             quit:      "com.haystacksoftware.Arq",
25             pkgutil:   "com.haystacksoftware.Arq",
26             delete:    "/Applications/Arq.app"
28   zap trash: [
29     "/Library/Application Support/ArqAgent",
30     "/Library/Application Support/ArqAgentAPFS",
31     "~/Library/Application Support/Arq *",
32     "~/Library/Arq *",
33     "~/Library/Preferences/com.haystacksoftware.Arq.plist",
34     "~/Library/Preferences/com.haystacksoftware.ArqMonitor.plist",
35   ]
36 end