excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / alacritty.rb
blob0be2e4c5bd4b3001ce60ce0cd837a2c829fa5226
1 cask "alacritty" do
2   version "0.14.0"
3   sha256 "fc540792608c9ebf82be43f06fddb87ed455438c974cae7d233fe49e89c80523"
5   url "https://github.com/alacritty/alacritty/releases/download/v#{version}/Alacritty-v#{version}.dmg"
6   name "Alacritty"
7   desc "GPU-accelerated terminal emulator"
8   homepage "https://github.com/alacritty/alacritty/"
10   livecheck do
11     url :url
12     strategy :github_latest
13   end
15   app "Alacritty.app"
16   binary "Alacritty.app/Contents/MacOS/alacritty"
17   binary "Alacritty.app/Contents/Resources/completions/_alacritty",
18          target: "#{HOMEBREW_PREFIX}/share/zsh/site-functions/_alacritty"
19   binary "Alacritty.app/Contents/Resources/completions/alacritty.bash",
20          target: "#{HOMEBREW_PREFIX}/etc/bash_completion.d/alacritty"
21   binary "Alacritty.app/Contents/Resources/completions/alacritty.fish",
22          target: "#{HOMEBREW_PREFIX}/share/fish/vendor_completions.d/alacritty.fish"
23   binary "Alacritty.app/Contents/Resources/61/alacritty",
24          target: "#{ENV.fetch("TERMINFO", "~/.terminfo")}/61/alacritty"
25   binary "Alacritty.app/Contents/Resources/61/alacritty-direct",
26          target: "#{ENV.fetch("TERMINFO", "~/.terminfo")}/61/alacritty-direct"
27   manpage "Alacritty.app/Contents/Resources/alacritty.1.gz"
28   manpage "Alacritty.app/Contents/Resources/alacritty.5.gz"
29   manpage "Alacritty.app/Contents/Resources/alacritty-msg.1.gz"
30   manpage "Alacritty.app/Contents/Resources/alacritty-bindings.5.gz"
32   zap trash: [
33     "~/Library/Preferences/io.alacritty.plist",
34     "~/Library/Saved Application State/io.alacritty.savedState",
35   ]
36 end