52 lines
1.5 KiB
Ruby
52 lines
1.5 KiB
Ruby
# typed: false
|
|
# frozen_string_literal: true
|
|
|
|
# This file was generated by GoReleaser. DO NOT EDIT.
|
|
class UnboundSchemas < Formula
|
|
desc ""
|
|
homepage "https://schemas.unbound.se/"
|
|
version "0.3.0"
|
|
|
|
on_macos do
|
|
if Hardware::CPU.intel?
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.3.0/downloads/unbound-schemas_0.3.0_darwin_amd64.tar.gz"
|
|
sha256 "c4d3fc7d347e346670a2b51af845a341471c5dd7c8e3c9ebd8b332054b041a32"
|
|
|
|
def install
|
|
bin.install "schemactl"
|
|
end
|
|
end
|
|
if Hardware::CPU.arm?
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.3.0/downloads/unbound-schemas_0.3.0_darwin_arm64.tar.gz"
|
|
sha256 "90ce0d16c24d74abbcdaa2329b6c766e14eaffaaeaee49801962442fbeeab41e"
|
|
|
|
def install
|
|
bin.install "schemactl"
|
|
end
|
|
end
|
|
end
|
|
|
|
on_linux do
|
|
if Hardware::CPU.intel?
|
|
if Hardware::CPU.is_64_bit?
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.3.0/downloads/unbound-schemas_0.3.0_linux_amd64.tar.gz"
|
|
sha256 "c87ab5d7faf47df1e3fa035268df7fa3df8ecc87b4e6f068632d3f78ef62df10"
|
|
|
|
def install
|
|
bin.install "schemactl"
|
|
end
|
|
end
|
|
end
|
|
if Hardware::CPU.arm?
|
|
if Hardware::CPU.is_64_bit?
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.3.0/downloads/unbound-schemas_0.3.0_linux_arm64.tar.gz"
|
|
sha256 "2bcaf512b3ab7c312db3ff67f1a0e80234989ccb37fd3a13da40cfca52d25ac3"
|
|
|
|
def install
|
|
bin.install "schemactl"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|