46 lines
1.5 KiB
Ruby
46 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.5.0"
|
|
|
|
on_macos do
|
|
if Hardware::CPU.intel?
|
|
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.5.0/downloads/unbound-schemas_0.5.0_darwin_arm64.tar.gz"
|
|
sha256 "a706db9096453ae1113421bb07763790893991493aebdaff54d3e9153b3c4d4e"
|
|
|
|
def install
|
|
bin.install "schemactl"
|
|
end
|
|
end
|
|
end
|
|
|
|
on_linux do
|
|
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? 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
|
|
end
|