homebrew-cask/Casks/jasp.rb

27 lines
718 B
Ruby

cask "jasp" do
version "0.17.1.0"
sha256 "1795050b794aad71c8cd1e3dcfa56c9eea198d6b1016890ec3cdcf1f98349ec2"
url "https://static.jasp-stats.org/JASP-#{version}-macOS-x86_64.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