Merge pull request #200288 from kyu08/cursor-link
[Homebrew/homebrew-cask.git] / Casks / k / kstars.rb
blob4525c83e44a879205a5b5599a636ed2acd82d4be
1 cask "kstars" do
2   version "3.7.4"
3   sha256 :no_check # required as upstream package is updated in-place
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