From 003584ec4a16b30c31d5d06d4f2744507ea78e59 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Mon, 9 Jun 2025 06:03:36 +0000 Subject: [PATCH] Brew cask update for unbound-schemas version v0.5.1 --- Casks/unbound-schemas.rb | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Casks/unbound-schemas.rb diff --git a/Casks/unbound-schemas.rb b/Casks/unbound-schemas.rb new file mode 100644 index 0000000..a32db15 --- /dev/null +++ b/Casks/unbound-schemas.rb @@ -0,0 +1,45 @@ +# This file was generated by GoReleaser. DO NOT EDIT. +cask "unbound-schemas" do + desc "" + homepage "https://schemas.unbound.se/" + version "0.5.1" + + livecheck do + skip "Auto-generated on release." + end + + binary "unbound-schemas" + + on_macos do + on_intel do + url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.5.1/downloads/unbound-schemas_0.5.1_darwin_amd64.tar.gz" + sha256 "0bca4bd059c6f13c3a7f1997858c18509c15f827a2e26d782c0e8d791b0a1d84" + end + on_arm do + url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.5.1/downloads/unbound-schemas_0.5.1_darwin_arm64.tar.gz" + sha256 "0ed143d842078c250e74cc9339a5ad037e650c34b7edd8a183b69ddbf02868ec" + end + end + + on_linux do + on_intel do + url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.5.1/downloads/unbound-schemas_0.5.1_linux_amd64.tar.gz" + sha256 "a30c485009193e71ac3542cd85def65a95323a9b75befd391aadf3a6c2014b5f" + end + on_arm do + url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.5.1/downloads/unbound-schemas_0.5.1_linux_arm64.tar.gz" + sha256 "47b329a1139cbaa95f1689fb4b05720e3b66d954e0cc0e2eff95d082043da4c9" + end + end + + conflicts_with formula: [ + "unbound-schemas", + ] + + postflight do + # replace foo with the actual binary name + system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/schemactl"] + end + + # No zap stanza required +end