mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Merge pull request #158169 from Homebrew/miccal-jasp
jasp: various updates
This commit is contained in:
+6
-5
@@ -1,10 +1,11 @@
|
||||
cask "jasp" do
|
||||
arch arm: "arm64", intel: "x86_64"
|
||||
arch_suffix = on_arch_conditional intel: "_new"
|
||||
arch_suffix = on_arch_conditional intel: "_new2"
|
||||
livecheck_folder = on_arch_conditional arm: "-apple-silicon"
|
||||
|
||||
version "0.18.1.0"
|
||||
sha256 arm: "4985018f2e31a496599a2b6374558e30f019012972457098930b50202fd8fa1b",
|
||||
intel: "51544c6127892bcd079d2128641700312daae63db02c540a346dacf03163a7d6"
|
||||
intel: "5805457002b7c566d4e0974041c5cc54d8ed72603b8260ac073b7b347a1d943d"
|
||||
|
||||
url "https://static.jasp-stats.org/JASP-#{version}-macOS-#{arch}#{arch_suffix}.dmg"
|
||||
name "JASP"
|
||||
@@ -12,11 +13,11 @@ cask "jasp" do
|
||||
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)
|
||||
url "https://jasp-stats.org/thank-you-for-downloading-jasp-macos#{livecheck_folder}/"
|
||||
regex(/href=.*?JASP[._-]v?(\d+(?:\.\d+)+)[._-]macOS[._-]#{arch}#{arch_suffix}\.dmg/i)
|
||||
end
|
||||
|
||||
depends_on macos: ">= :high_sierra"
|
||||
depends_on macos: ">= :big_sur"
|
||||
|
||||
app "JASP.app"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user