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.7.0"
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 "ffc7c513bbc52a29f72c65b372b6a34430e9b96f522dddf566eca63d8ea2eb51"
end
on_arm do
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v#{version}/downloads/unbound-schemas_#{version}_darwin_arm64.tar.gz"
sha256 "8c7d18534b6aba1b0ed640fba49c254fc5775808b7121c3464a92e83c28e648a"
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 "c90aac673b93f5bf32611c015e6c1865b3a825676ff66f1c1263de25c24b963f"
end
on_arm do
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v#{version}/downloads/unbound-schemas_#{version}_linux_arm64.tar.gz"
sha256 "0cb82d4bbe8b8df374106461415259181931ec43ab2de4e66c1979c45580aeef"
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