excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / r / racket.rb
blobf04112fe30fcbda12ecfd4178dc076d2e0ade5be
1 cask "racket" do
2   arch arm: "aarch64", intel: "x86_64"
4   version "8.15"
5   sha256 arm:   "586e0cc855cfe540ef2ec8273409679fc434de7bea8c651a38abb79fc56a7c5f",
6          intel: "b4b3987c64b23a74d1851082b6529776e4ebe11d6c94294fc0bc56e36cd62330"
8   url "https://mirror.racket-lang.org/installers/#{version}/racket-#{version}-#{arch}-macosx-cs.dmg"
9   name "Racket"
10   desc "Modern programming language in the Lisp/Scheme family"
11   homepage "https://racket-lang.org/"
13   livecheck do
14     url "https://download.racket-lang.org/all-versions.html"
15     regex(/racket[._-]v?(\d+(?:\.\d+)+)/i)
16   end
18   suite "Racket v#{version}"
19   binary "#{appdir}/Racket v#{version}/bin/drracket"
20   binary "#{appdir}/Racket v#{version}/bin/gracket"
21   binary "#{appdir}/Racket v#{version}/bin/gracket-text"
22   binary "#{appdir}/Racket v#{version}/bin/mred"
23   binary "#{appdir}/Racket v#{version}/bin/mred-text"
24   binary "#{appdir}/Racket v#{version}/bin/mzc"
25   binary "#{appdir}/Racket v#{version}/bin/mzpp"
26   binary "#{appdir}/Racket v#{version}/bin/mzscheme"
27   binary "#{appdir}/Racket v#{version}/bin/mztext"
28   binary "#{appdir}/Racket v#{version}/bin/pdf-slatex"
29   binary "#{appdir}/Racket v#{version}/bin/plt-games"
30   binary "#{appdir}/Racket v#{version}/bin/plt-help"
31   binary "#{appdir}/Racket v#{version}/bin/plt-r5rs"
32   binary "#{appdir}/Racket v#{version}/bin/plt-r6rs"
33   binary "#{appdir}/Racket v#{version}/bin/plt-web-server"
34   binary "#{appdir}/Racket v#{version}/bin/racket"
35   binary "#{appdir}/Racket v#{version}/bin/raco"
36   binary "#{appdir}/Racket v#{version}/bin/scribble"
37   binary "#{appdir}/Racket v#{version}/bin/setup-plt"
38   binary "#{appdir}/Racket v#{version}/bin/slatex"
39   binary "#{appdir}/Racket v#{version}/bin/slideshow"
40   binary "#{appdir}/Racket v#{version}/bin/swindle"
41   manpage "#{appdir}/Racket v#{version}/man/man1/drracket.1"
42   manpage "#{appdir}/Racket v#{version}/man/man1/gracket.1"
43   manpage "#{appdir}/Racket v#{version}/man/man1/mred.1"
44   manpage "#{appdir}/Racket v#{version}/man/man1/mzc.1"
45   manpage "#{appdir}/Racket v#{version}/man/man1/mzscheme.1"
46   manpage "#{appdir}/Racket v#{version}/man/man1/plt-help.1"
47   manpage "#{appdir}/Racket v#{version}/man/man1/racket.1"
48   manpage "#{appdir}/Racket v#{version}/man/man1/raco.1"
49   manpage "#{appdir}/Racket v#{version}/man/man1/setup-plt.1"
51   zap trash: [
52     "~/Library/Caches/Racket",
53     "~/Library/Preferences/org.racket-lang.DrRacket.plist",
54     "~/Library/Preferences/org.racket-lang.prefs.rktd",
55     "~/Library/Preferences/PLT-autosave-toc-save.rktd",
56     "~/Library/Preferences/PLT-autosave-toc.rktd",
57     "~/Library/Racket",
58     "~/Library/Saved Application State/org.racket-lang.DrRacket.savedState",
59     "~/Library/Saved Application State/org.racket-lang.DrRacketBC.savedState",
60     "~/Library/Saved Application State/org.racket-lang.GRacket3m.savedState",
61     "~/Library/Saved Application State/org.racket-lang.PLT Games.savedState",
62     "~/Library/Saved Application State/org.racket-lang.Slideshow.savedState",
63   ]
64 end