Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Add arm64 specific version / checksum / url for zulu13 #10101

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 14 additions & 4 deletions Casks/zulu13.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
cask "zulu13" do
version "13.0.5,13.35.17-ca"
sha256 "ce0b48f881bcb1d347b1e98a731aea34b843c2e5c9a38a93b14b364a0b10d36c"
if Hardware::CPU.arch == :arm64
version "13.0.5.1,13.35.1017-ca"
sha256 "c930f8475daa9878e627521d21dd7eea541759affde1763bbbb13017c52f4115"
else
version "13.0.5,13.35.17-ca"
sha256 "ce0b48f881bcb1d347b1e98a731aea34b843c2e5c9a38a93b14b364a0b10d36c"
end

url "https://cdn.azul.com/zulu/bin/zulu#{version.after_comma}-jdk#{version.before_comma}-macosx_x64.dmg",
referer: "https://www.azul.com/downloads/zulu/zulu-mac/"
if Hardware::CPU.arch == :arm64
url "https://cdn.azul.com/zulu/bin/zulu#{version.after_comma}-jdk#{version.before_comma}-macos_aarch64.dmg",
referer: "https://www.azul.com/downloads/zulu/zulu-mac/"
else
url "https://cdn.azul.com/zulu/bin/zulu#{version.after_comma}-jdk#{version.before_comma}-macosx_x64.dmg",
referer: "https://www.azul.com/downloads/zulu/zulu-mac/"
end
name "Azul Zulu Java Standard Edition Development Kit"
homepage "https://www.azul.com/downloads/zulu/zulu-mac/"

Expand Down