diff --git a/Formula/unbound-schemas.rb b/Formula/unbound-schemas.rb index e5fcfc3..7c0c900 100644 --- a/Formula/unbound-schemas.rb +++ b/Formula/unbound-schemas.rb @@ -5,20 +5,20 @@ class UnboundSchemas < Formula desc "" homepage "https://schemas.unbound.se/" - version "0.4.1" + version "0.5.0" on_macos do if Hardware::CPU.intel? - url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.4.1/downloads/unbound-schemas_0.4.1_darwin_amd64.tar.gz" - sha256 "1a7b8ff84702d4a7e31abaa8285e2e6dd0a7a2287f9576f1f42503af59b29b8f" + url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.5.0/downloads/unbound-schemas_0.5.0_darwin_amd64.tar.gz" + sha256 "d52f5dd9ba40041f817ccb6447229d566f1ea21251d561516285fa0aa8e9404b" def install bin.install "schemactl" end end if Hardware::CPU.arm? - url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.4.1/downloads/unbound-schemas_0.4.1_darwin_arm64.tar.gz" - sha256 "8a402473cd2a9f820f36c9f885f5a07c0ba0d1d5ee022744bc7613c5d90eb6fd" + url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.5.0/downloads/unbound-schemas_0.5.0_darwin_arm64.tar.gz" + sha256 "a706db9096453ae1113421bb07763790893991493aebdaff54d3e9153b3c4d4e" def install bin.install "schemactl" @@ -27,24 +27,18 @@ class UnboundSchemas < Formula end on_linux do - if Hardware::CPU.intel? - if Hardware::CPU.is_64_bit? - url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.4.1/downloads/unbound-schemas_0.4.1_linux_amd64.tar.gz" - sha256 "caa56bc0aaa0498b18ac33a6fabb849b99a01936613ee8b463b75b5a92b2ec22" - - def install - bin.install "schemactl" - end + if Hardware::CPU.intel? and Hardware::CPU.is_64_bit? + url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.5.0/downloads/unbound-schemas_0.5.0_linux_amd64.tar.gz" + sha256 "a7e523e6c4df3f8333900f270f9a22d4270f182db730e90a8609af25072f3954" + def install + bin.install "schemactl" end end - if Hardware::CPU.arm? - if Hardware::CPU.is_64_bit? - url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.4.1/downloads/unbound-schemas_0.4.1_linux_arm64.tar.gz" - sha256 "e0dc874b885cd0b5492485873e10c1b48431db7f7d7c539942d34c47b70b3ae8" - - def install - bin.install "schemactl" - end + if Hardware::CPU.arm? and Hardware::CPU.is_64_bit? + url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.5.0/downloads/unbound-schemas_0.5.0_linux_arm64.tar.gz" + sha256 "ceab90fbc894a1b21941c2f2187ed529e9757b28f264bcf5f61e1164e75dc295" + def install + bin.install "schemactl" end end end