diff --git a/Casks/unbound-schemas.rb b/Casks/unbound-schemas.rb index b117774..2c93086 100644 --- a/Casks/unbound-schemas.rb +++ b/Casks/unbound-schemas.rb @@ -3,7 +3,7 @@ cask "unbound-schemas" do name "unbound-schemas" desc "" homepage "https://schemas.unbound.se/" - version "0.8.0" + version "0.9.0" livecheck do skip "Auto-generated on release." @@ -13,30 +13,25 @@ cask "unbound-schemas" do on_macos do on_intel do - url "https://gitlab.com/unboundsoftware/schemas/-/releases/v#{version}/downloads/unbound-schemas_#{version}_darwin_amd64.tar.gz" - sha256 "c54ddeddb4f5292c232c87e99d6945ddd212f42f704779334f46151b85ddd4c8" + url "https://gitea.unbound.se/unboundsoftware/schemas/releases/download/v#{version}/unbound-schemas_#{version}_darwin_amd64.tar.gz" + sha256 "1603fab4d21e7a14bb1e49a855a9608da1bd56f2af6c8f49177db1e8faafab7e" end on_arm do - url "https://gitlab.com/unboundsoftware/schemas/-/releases/v#{version}/downloads/unbound-schemas_#{version}_darwin_arm64.tar.gz" - sha256 "01b249f9ba67476316e88932b62e25abd7cdc59f1836bf055be16739b6d88187" + url "https://gitea.unbound.se/unboundsoftware/schemas/releases/download/v#{version}/unbound-schemas_#{version}_darwin_arm64.tar.gz" + sha256 "49c2b408327130d482c63d7ebf8fa5993be5cb9182a233e5747e76868cc2c22e" end end on_linux do on_intel do - url "https://gitlab.com/unboundsoftware/schemas/-/releases/v#{version}/downloads/unbound-schemas_#{version}_linux_amd64.tar.gz" - sha256 "b90a2f2c5a2282e20ac4506c2c1ca62ac1441e45833170a43ff658bc3562f65f" + url "https://gitea.unbound.se/unboundsoftware/schemas/releases/download/v#{version}/unbound-schemas_#{version}_linux_amd64.tar.gz" + sha256 "ce601a14135f5be73826d58139a80d75c68ba4535ada60ac373545b1ee85f8d8" end on_arm do - url "https://gitlab.com/unboundsoftware/schemas/-/releases/v#{version}/downloads/unbound-schemas_#{version}_linux_arm64.tar.gz" - sha256 "39b7d1cc294e6273e7c4bb515142d0e6a35884197fbaab20020019e35b1bc0d5" + url "https://gitea.unbound.se/unboundsoftware/schemas/releases/download/v#{version}/unbound-schemas_#{version}_linux_arm64.tar.gz" + sha256 "85a811da43c973e96fc69c7dd45fd76e9411f15589eaff06fac3d360dd825d9d" end end - 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