48 lines
1.4 KiB
Ruby
48 lines
1.4 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.0.4"
|
|
|
|
on_macos do
|
|
if Hardware::CPU.intel?
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.0.4/downloads/unbound-schemas_0.0.4_Darwin_x86_64.tar.gz"
|
|
sha256 "90549ac6baa3ecae5d862c7ea39d95a45c78b989c20de34db28b5ddf2a6cd659"
|
|
|
|
def install
|
|
bin.install "schemactl"
|
|
end
|
|
end
|
|
if Hardware::CPU.arm?
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.0.4/downloads/unbound-schemas_0.0.4_Darwin_arm64.tar.gz"
|
|
sha256 "9a461f846c855d03f0a558154f25778aae81d27b6e72101a76c979a8dd25d101"
|
|
|
|
def install
|
|
bin.install "schemactl"
|
|
end
|
|
end
|
|
end
|
|
|
|
on_linux do
|
|
if Hardware::CPU.intel?
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.0.4/downloads/unbound-schemas_0.0.4_Linux_x86_64.tar.gz"
|
|
sha256 "3454b549c4585ce473d59ce37bb9aa96286d1c88585e26f5b7732965db33da60"
|
|
|
|
def install
|
|
bin.install "schemactl"
|
|
end
|
|
end
|
|
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.0.4/downloads/unbound-schemas_0.0.4_Linux_arm64.tar.gz"
|
|
sha256 "c54cd62c1258f491e6e3e15a06136eab9c2f3fd024cb3be22a1e5a92decf8088"
|
|
|
|
def install
|
|
bin.install "schemactl"
|
|
end
|
|
end
|
|
end
|
|
end
|