excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / skychart.rb
blob7e0fe2f7698d4b299694126c014e8c28eb231ca9
1 cask "skychart" do
2   version "4.2.1-4073"
3   sha256 "72670b4c3d4145a2f609197d62bb07351d2e7cdce36d889d0d0f9a002158aa47"
5   url "https://downloads.sourceforge.net/skychart/skychart-#{version}-x86_64-macosx.dmg",
6       verified: "downloads.sourceforge.net/skychart/"
7   name "SkyChart"
8   name "Cartes du Ciel"
9   desc "Draw sky charts"
10   homepage "https://www.ap-i.net/skychart/"
12   livecheck do
13     url "https://sourceforge.net/projects/skychart/rss?path=/1-software"
14     regex(%r{url=.*?/skychart[._-]v?(\d+(?:[.-]\d+)+[a-z]?)[^"' >]*?\.dmg}i)
15   end
17   pkg "Install Skychart.pkg"
19   uninstall pkgutil: "net.ap-i.pkg.skychart"
21   zap trash: [
22     "~/Library/Application Support/skychart",
23     "~/Library/Preferences/net.ap-i.skychart.plist",
24     "~/Library/Saved Application State/net.ap-i.skychart.savedState",
25   ]
27   caveats do
28     requires_rosetta
29   end
30 end