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.0"
|
|
|
|
on_macos do
|
|
if Hardware::CPU.intel?
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.1.0/downloads/unbound-schemas_0.1.0_darwin_amd64.tar.gz"
|
|
sha256 "9e0c3558df4db3ea175ab48c978ec561f7c252c932883214ae06273ad6eb1d50"
|
|
|
|
def install
|
|
bin.install "schemactl"
|
|
end
|
|
end
|
|
if Hardware::CPU.arm?
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.1.0/downloads/unbound-schemas_0.1.0_darwin_arm64.tar.gz"
|
|
sha256 "7bf1e76f8d86caf2ab8c6a9cb6e581635ef88cee4b9040b7f68d7d4ae2c9dce0"
|
|
|
|
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.0/downloads/unbound-schemas_0.1.0_linux_amd64.tar.gz"
|
|
sha256 "79fbc012be49aedd4cf8cbc5913296abe5b9375f17d7c37c5e0f811c8d8f3b75"
|
|
|
|
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.0/downloads/unbound-schemas_0.1.0_linux_arm64.tar.gz"
|
|
sha256 "94827364b05afaaff85b376f675f72249511491731c978620f02bd9aa86148fa"
|
|
|
|
def install
|
|
bin.install "schemactl"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|