Files
homebrew-taps/Casks/unbound-schemas.rb
T

43 lines
1.4 KiB
Ruby

# This file was generated by GoReleaser. DO NOT EDIT.
cask "unbound-schemas" do
name "unbound-schemas"
desc ""
homepage "https://schemas.unbound.se/"
version "0.6.5"
livecheck do
skip "Auto-generated on release."
end
binary "schemactl"
on_macos do
on_intel do
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v#{version}/downloads/unbound-schemas_#{version}_darwin_amd64.tar.gz"
sha256 "4f1119585e8ebadc56b8dcc083a49ae5cc4352c34d5595fa3528d79463b3d465"
end
on_arm do
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v#{version}/downloads/unbound-schemas_#{version}_darwin_arm64.tar.gz"
sha256 "ba960db42fd5e3688322f023bb8b5d6ed47c4f43d926e7aa34106568ed3fa169"
end
end
on_linux do
on_intel do
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v#{version}/downloads/unbound-schemas_#{version}_linux_amd64.tar.gz"
sha256 "534fc1ffec159de7e67ea76c2f669a4b64d43742a0d1a36acefafa8026ff8441"
end
on_arm do
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v#{version}/downloads/unbound-schemas_#{version}_linux_arm64.tar.gz"
sha256 "2046afb6ef3d55cadbfde93e32460947038aceef210ccc1a044d678938511482"
end
end
postflight do
# replace foo with the actual binary name
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/schemactl"]
end
# No zap stanza required
end