homebrew-cask/Casks/jasp.rb

27 lines
705 B
Ruby

cask "jasp" do
version "0.16.0.0"
sha256 "294e23665726fe4779da16259d46eb61ad6249a7d29e40ec0ebd1230c45bd211"
url "https://static.jasp-stats.org/JASP-#{version}.dmg"
name "JASP"
desc "Statistical analysis application"
homepage "https://jasp-stats.org/"
livecheck do
url "https://jasp-stats.org/thank-you-for-downloading-jasp-macos/"
regex(/href=.*?JASP[._-]v?(\d+(?:\.\d+)+)\.dmg/i)
end
depends_on macos: ">= :high_sierra"
app "JASP.app"
zap trash: [
"~/.JASP",
"~/Library/Application Support/JASP",
"~/Library/Caches/JASP",
"~/Library/Preferences/org.jasp-stats.JASP.plist",
"~/Library/Saved Application State/org.jasp-stats.jasp.savedState",
]
end