2022-10-09 19:10:17 +00:00
|
|
|
# typed: false
|
|
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
|
|
# This file was generated by GoReleaser. DO NOT EDIT.
|
|
|
|
|
class UnboundSchemas < Formula
|
|
|
|
|
desc ""
|
|
|
|
|
homepage "https://schemas.unbound.se/"
|
2025-04-24 12:48:05 +00:00
|
|
|
version "0.4.1"
|
2022-10-09 19:10:17 +00:00
|
|
|
|
|
|
|
|
on_macos do
|
2025-01-01 20:27:33 +00:00
|
|
|
if Hardware::CPU.intel?
|
2025-04-24 12:48:05 +00:00
|
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.4.1/downloads/unbound-schemas_0.4.1_darwin_amd64.tar.gz"
|
|
|
|
|
sha256 "1a7b8ff84702d4a7e31abaa8285e2e6dd0a7a2287f9576f1f42503af59b29b8f"
|
2022-10-09 19:10:17 +00:00
|
|
|
|
|
|
|
|
def install
|
|
|
|
|
bin.install "schemactl"
|
|
|
|
|
end
|
|
|
|
|
end
|
2025-01-01 20:27:33 +00:00
|
|
|
if Hardware::CPU.arm?
|
2025-04-24 12:48:05 +00:00
|
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.4.1/downloads/unbound-schemas_0.4.1_darwin_arm64.tar.gz"
|
|
|
|
|
sha256 "8a402473cd2a9f820f36c9f885f5a07c0ba0d1d5ee022744bc7613c5d90eb6fd"
|
2022-10-09 19:10:17 +00:00
|
|
|
|
|
|
|
|
def install
|
|
|
|
|
bin.install "schemactl"
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
on_linux do
|
2025-01-01 20:27:33 +00:00
|
|
|
if Hardware::CPU.intel?
|
2024-10-23 06:17:20 +00:00
|
|
|
if Hardware::CPU.is_64_bit?
|
2025-04-24 12:48:05 +00:00
|
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.4.1/downloads/unbound-schemas_0.4.1_linux_amd64.tar.gz"
|
|
|
|
|
sha256 "caa56bc0aaa0498b18ac33a6fabb849b99a01936613ee8b463b75b5a92b2ec22"
|
2022-10-09 19:10:17 +00:00
|
|
|
|
2024-10-23 06:17:20 +00:00
|
|
|
def install
|
|
|
|
|
bin.install "schemactl"
|
|
|
|
|
end
|
2022-10-09 19:10:17 +00:00
|
|
|
end
|
|
|
|
|
end
|
2025-01-01 20:27:33 +00:00
|
|
|
if Hardware::CPU.arm?
|
2024-10-23 06:17:20 +00:00
|
|
|
if Hardware::CPU.is_64_bit?
|
2025-04-24 12:48:05 +00:00
|
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.4.1/downloads/unbound-schemas_0.4.1_linux_arm64.tar.gz"
|
|
|
|
|
sha256 "e0dc874b885cd0b5492485873e10c1b48431db7f7d7c539942d34c47b70b3ae8"
|
2022-10-09 19:10:17 +00:00
|
|
|
|
2024-10-23 06:17:20 +00:00
|
|
|
def install
|
|
|
|
|
bin.install "schemactl"
|
|
|
|
|
end
|
2022-10-09 19:10:17 +00:00
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|