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.1.1"
|
|
|
|
on_macos do
|
|
if Hardware::CPU.intel?
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.1.1/downloads/unbound-schemas_0.1.1_darwin_amd64.tar.gz"
|
|
sha256 "67312d88958834576790524c9e4ecffe3e75b700e8c5c0815aae3a6f42e990be"
|
|
|
|
def install
|
|
bin.install "schemactl"
|
|
end
|
|
end
|
|
if Hardware::CPU.arm?
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.1.1/downloads/unbound-schemas_0.1.1_darwin_arm64.tar.gz"
|
|
sha256 "b3e51cdc6a3cd106cb3cab280c5fa6345c7ed589130ceaed038047d782b4cec7"
|
|
|
|
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.1.1/downloads/unbound-schemas_0.1.1_linux_amd64.tar.gz"
|
|
sha256 "87b526ad6a656a3577f45b482da1d56034e5952aa2713aa3537ce24a83116c11"
|
|
|
|
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.1.1/downloads/unbound-schemas_0.1.1_linux_arm64.tar.gz"
|
|
sha256 "3bc4d7852ce4182058356ea4f639541b038ee53cd438c6259ef18b0831aa902e"
|
|
|
|
def install
|
|
bin.install "schemactl"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|