cask "julia@lts" do version "1.10.6" sha256 "e07d798022fcc84b7208fb815ae094250a914c18ce825b3f35c2fddc4c69a280" url "https://julialang-s3.julialang.org/bin/mac/x64/#{version.major_minor}/julia-#{version}-mac64.dmg" name "Julia" desc "Programming language for technical computing" homepage "https://julialang.org/" livecheck do url "https://julialang.org/downloads/" regex(/\(LTS\)\s+release:\s+v?(\d+(?:\.\d+)+)/i) end app "Julia-#{version.major_minor}.app" binary "#{appdir}/Julia-#{version.major_minor}.app/Contents/Resources/julia/bin/julia", target: "julia-lts" zap trash: "~/.julia" end