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.4.0"
|
|
|
|
on_macos do
|
|
if Hardware::CPU.intel?
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.4.0/downloads/unbound-schemas_0.4.0_darwin_amd64.tar.gz"
|
|
sha256 "8cdf258808f03d10565a2509b8d6e90ddc4df1492284a13dc153cadeaca3c836"
|
|
|
|
def install
|
|
bin.install "schemactl"
|
|
end
|
|
end
|
|
if Hardware::CPU.arm?
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.4.0/downloads/unbound-schemas_0.4.0_darwin_arm64.tar.gz"
|
|
sha256 "14b9f957926370e6a4d4e1fdbd21e4144c52f6a48242502922a02cfcb736749e"
|
|
|
|
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.4.0/downloads/unbound-schemas_0.4.0_linux_amd64.tar.gz"
|
|
sha256 "3dfb76b3f23171b1bcb219952c42e198f2388f720089016a5519490a9a113711"
|
|
|
|
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.4.0/downloads/unbound-schemas_0.4.0_linux_arm64.tar.gz"
|
|
sha256 "98a2b01b8aca2af06dc36de12bef6bd82769877b91be95e07696a0a398b2ce63"
|
|
|
|
def install
|
|
bin.install "schemactl"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|