diff --git a/Casks/semeru-jdk11-open.rb b/Casks/semeru-jdk11-open.rb deleted file mode 100644 index c3ff971f57639a..00000000000000 --- a/Casks/semeru-jdk11-open.rb +++ /dev/null @@ -1,27 +0,0 @@ -cask "semeru-jdk11-open" do - arch arm: "aarch64", intel: "x64" - - version "11.0.22+7,openj9-0.43.0" - sha256 arm: "57cf3015d5c45aed38fd70095cd5b28e70667c8847462faa96a620b70fdf2f5a", - intel: "dba721b2c1e274a8d2a696e1590d9a0ff735488fdc057c98911b12df408c5abd" - - url "https://github.com/ibmruntimes/semeru#{version.major}-binaries/releases/download/jdk-#{version.csv.first}_#{version.csv.second}/ibm-semeru-open-jdk_#{arch}_mac_#{version.csv.first.tr("+", "_")}_#{version.csv.second}.pkg", - verified: "github.com/ibmruntimes/semeru#{version.major}-binaries/" - name "IBM Semeru Runtime (JDK 11) Open Edition" - desc "Production-ready JDK with the OpenJDK class libraries and the Eclipse OpenJ9 JVM" - homepage "https://developer.ibm.com/languages/java/semeru-runtimes" - - livecheck do - url :stable - regex(/^jdk[._-](\d+(?:[.+]\d+)*)[._-](.+?)$/i) - strategy :github_latest do |json, regex| - json["tag_name"]&.scan(regex)&.map { |match| "#{match[0]},#{match[1]}" } - end - end - - pkg "ibm-semeru-open-jdk_#{arch}_mac_#{version.csv.first.tr("+", "_")}_#{version.csv.second}.pkg" - - uninstall pkgutil: "net.ibm-semeru-open.#{version.major}.jdk" - - # No zap stanza required -end diff --git a/Casks/semeru-jdk17-open.rb b/Casks/semeru-jdk17-open.rb deleted file mode 100644 index d18d86e9f3d1d1..00000000000000 --- a/Casks/semeru-jdk17-open.rb +++ /dev/null @@ -1,27 +0,0 @@ -cask "semeru-jdk17-open" do - arch arm: "aarch64", intel: "x64" - - version "17.0.10+7,openj9-0.43.0" - sha256 arm: "487806ddf6b36391d18040e3a5f83f33e2f1497d39bbe623458a18906770caf9", - intel: "96f6ae58eb3b76eb7fd0c3a9b63d94bbad5a895ebbc096ca1c2440b2177ce23c" - - url "https://github.com/ibmruntimes/semeru#{version.major}-binaries/releases/download/jdk-#{version.csv.first}_#{version.csv.second}/ibm-semeru-open-jdk_#{arch}_mac_#{version.csv.first.tr("+", "_")}_#{version.csv.second}.pkg", - verified: "github.com/ibmruntimes/semeru#{version.major}-binaries/" - name "IBM Semeru Runtime (JDK 17) Open Edition" - desc "Production-ready JDK with the OpenJDK class libraries and the Eclipse OpenJ9 JVM" - homepage "https://developer.ibm.com/languages/java/semeru-runtimes" - - livecheck do - url :stable - regex(/^jdk[._-](\d+(?:[.+]\d+)*)[._-](.+?)$/i) - strategy :github_latest do |json, regex| - json["tag_name"]&.scan(regex)&.map { |match| "#{match[0]},#{match[1]}" } - end - end - - pkg "ibm-semeru-open-jdk_#{arch}_mac_#{version.csv.first.tr("+", "_")}_#{version.csv.second}.pkg" - - uninstall pkgutil: "net.ibm-semeru-open.#{version.major}.jdk" - - # No zap stanza required -end diff --git a/Casks/semeru-jdk8-open.rb b/Casks/semeru-jdk8-open.rb deleted file mode 100644 index e3f37be1a5c7d7..00000000000000 --- a/Casks/semeru-jdk8-open.rb +++ /dev/null @@ -1,24 +0,0 @@ -cask "semeru-jdk8-open" do - version "8u402-b06,openj9-0.43.0" - sha256 "accf5cb3f4d67a0afdd59f3cd295b78b0cb1ad869db3079c3777c04943b1cbbf" - - url "https://github.com/ibmruntimes/semeru8-binaries/releases/download/jdk#{version.csv.first}_#{version.csv.second}/ibm-semeru-open-jdk_x64_mac_#{version.csv.first.tr("-", "")}_#{version.csv.second}.pkg", - verified: "github.com/ibmruntimes/semeru8-binaries/" - name "IBM Semeru Runtime (JDK 8) Open Edition" - desc "Production-ready JDK with the OpenJDK class libraries and the Eclipse OpenJ9 JVM" - homepage "https://developer.ibm.com/languages/java/semeru-runtimes" - - livecheck do - url :stable - regex(/^(?:jdk)?(\d+u\d+)[._-](b\d+)[._-](.+?)$/i) - strategy :github_latest do |json, regex| - json["tag_name"]&.scan(regex)&.map { |match| "#{match[0]}-#{match[1]},#{match[2]}" } - end - end - - pkg "ibm-semeru-open-jdk_x64_mac_#{version.csv.first.tr("-", "")}_#{version.csv.second}.pkg" - - uninstall pkgutil: "net.ibm-semeru-open.8.jdk" - - # No zap stanza required -end diff --git a/tap_migrations.json b/tap_migrations.json index 6eecfff9338e06..25ffc56e1d1c12 100644 --- a/tap_migrations.json +++ b/tap_migrations.json @@ -139,6 +139,9 @@ "reflector2": "homebrew/cask/reflector@2", "royal-tsx-beta": "homebrew/cask/royal-tsx@beta", "safari-technology-preview": "homebrew/cask/safari-technology-preview", + "semeru-jdk11-open": "homebrew/cask/semeru-jdk-open@11", + "semeru-jdk17-open": "homebrew/cask/semeru-jdk-open@17", + "semeru-jdk8-open": "homebrew/cask/semeru-jdk-open@8", "shadow-beta": "homebrew/cask/shadow@beta", "signal-beta": "homebrew/cask/signal@beta", "sketch-beta": "homebrew/cask/sketch@beta",