Merge pull request #194004 from Homebrew/bump-binance-1.54.4
[Homebrew/homebrew-cask.git] / Casks / k / kicad.rb
blob6306335ef522ee5f5556efbe3b430a3daa978f2a
1 cask "kicad" do
2   version "8.0.6"
3   sha256 "000689904e1566d2199d25dcdd28e7710daf956398681147ba4845e83952b566"
5   url "https://github.com/KiCad/kicad-source-mirror/releases/download/#{version}/kicad-unified-universal-#{version}.dmg",
6       verified: "github.com/KiCad/kicad-source-mirror/"
7   name "KiCad"
8   desc "Electronics design automation suite"
9   homepage "https://kicad.org/"
11   livecheck do
12     url :url
13     strategy :github_latest
14   end
16   depends_on macos: ">= :big_sur"
18   suite "KiCad"
19   binary "KiCad/KiCad.app/Contents/MacOS/dxf2idf"
20   binary "KiCad/KiCad.app/Contents/MacOS/idf2vrml"
21   binary "KiCad/KiCad.app/Contents/MacOS/idfcyl"
22   binary "KiCad/KiCad.app/Contents/MacOS/idfrect"
23   binary "KiCad/KiCad.app/Contents/MacOS/kicad-cli"
24   artifact "demos", target: "/Library/Application Support/kicad/demos"
26   zap trash: [
27     "/Library/Application Support/kicad",
28     "~/Library/Application Support/kicad",
29     "~/Library/Preferences/kicad",
30     "~/Library/Preferences/org.kicad-pcb.*",
31     "~/Library/Saved Application State/org.kicad-pcb.*",
32   ]
33 end