Merge pull request #194004 from Homebrew/bump-binance-1.54.4
[Homebrew/homebrew-cask.git] / Casks / k / kstars.rb
blobeac0be0a60e2f551855ed2cb67fc582552a8748e
1 cask "kstars" do
2   version "3.7.3"
3   sha256 "e0153c5a9110f639fa180d540497413ab6a6afe295260a7cb2d4c6c03c8b1a87"
5   url "https://www.indilib.org/jdownloads/kstars/kstars-#{version}.dmg",
6       verified: "indilib.org/jdownloads/kstars/"
7   name "KStars"
8   desc "Astronomy software"
9   homepage "https://kstars.kde.org/"
11   livecheck do
12     url :homepage
13     regex(/href=.*?kstars[._-]v?(\d+(?:\.\d+)+)\.dmg/i)
14   end
16   depends_on macos: ">= :catalina"
18   app "kstars.app"
20   zap trash: [
21     "~/Library/Application Support/kstars",
22     "~/Library/Caches/kstars",
23     "~/Library/Preferences/kstars",
24     "~/Library/Preferences/kstarsrc",
25   ]
27   caveats do
28     requires_rosetta
29   end
30 end