diff --git a/Formula/unbound-schemas.rb b/Formula/unbound-schemas.rb index 5ed23fc..fe06057 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.0.6" + version "0.0.7" on_macos do - if Hardware::CPU.intel? - url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.0.6/downloads/unbound-schemas_0.0.6_darwin_amd64.tar.gz" - sha256 "f984e709de5f9dbb79b6161553960211c081167cbbb19aa0ef840828715c3668" + on_intel do + url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.0.7/downloads/unbound-schemas_0.0.7_darwin_amd64.tar.gz" + sha256 "a13e5402c21d9cfdb1138e3f68dedcb2115539271faec4292ac0a7012c621725" def install bin.install "schemactl" end end - if Hardware::CPU.arm? - url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.0.6/downloads/unbound-schemas_0.0.6_darwin_arm64.tar.gz" - sha256 "51a59b6a6c40f38f8150408ae929393e7880e6258d10cb737297941da5a9f3df" + on_arm do + url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.0.7/downloads/unbound-schemas_0.0.7_darwin_arm64.tar.gz" + sha256 "12fdd8e1ef04d0c0fa78d1aa2e16e342536df72bc57b3cf06be9f3b48b280e27" def install bin.install "schemactl" @@ -27,20 +27,24 @@ class UnboundSchemas < Formula end on_linux do - if Hardware::CPU.intel? - url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.0.6/downloads/unbound-schemas_0.0.6_linux_amd64.tar.gz" - sha256 "74ff96e56765ada40b622eb21ed1165e5300ee78e774447310eae28a91bef4e5" + on_intel do + if Hardware::CPU.is_64_bit? + url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.0.7/downloads/unbound-schemas_0.0.7_linux_amd64.tar.gz" + sha256 "bebb81f3c5ca85a745dcfe62e58a042d6963b7a05174b8b055c9868bba2df1ec" - def install - bin.install "schemactl" + def install + bin.install "schemactl" + end end end - if Hardware::CPU.arm? && Hardware::CPU.is_64_bit? - url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.0.6/downloads/unbound-schemas_0.0.6_linux_arm64.tar.gz" - sha256 "372f3cdc1ffa5f90776f1c85476b58b59872394bd65bfc5ff3a1bcc8f01cef21" + on_arm do + if Hardware::CPU.is_64_bit? + url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.0.7/downloads/unbound-schemas_0.0.7_linux_arm64.tar.gz" + sha256 "2080dcc074f666105405e47c3fb565f72d030f8ed022a48f4a52341a1c7facba" - def install - bin.install "schemactl" + def install + bin.install "schemactl" + end end end end