excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / scilab.rb
blob0a7a401c985a9e9dc91a92a608be2729a1f55fa1
1 cask "scilab" do
2   arch arm: "arm64", intel: "x86_64"
4   version "2025.0.0"
5   sha256 arm:   "8501444f342282eaa254a06e22b71eeb6798109d3ae81d651cdd087a335468f4",
6          intel: "d02ae625f8d3b7b1a4a3a7ad0671fd6142edab0c01ee90d81c3c04fda92e5ae0"
8   url "https://www.scilab.org/download/#{version}/scilab-#{version}-#{arch}.dmg"
9   name "Scilab"
10   desc "Software for numerical computation"
11   homepage "https://www.scilab.org/"
13   livecheck do
14     url "https://www.scilab.org/download/latest/"
15     regex(/scilab[._-]v?(\d+(?:\.\d+)+)/i)
16   end
18   depends_on macos: ">= :mojave"
20   app "scilab-#{version}.app"
21   binary "#{appdir}/scilab-#{version}.app/Contents/bin/scilab"
22   binary "#{appdir}/scilab-#{version}.app/Contents/bin/scilab-cli"
24   zap trash: "~/.Scilab"
26   caveats do
27     depends_on_java "8"
28   end
29 end