43 lines
1.4 KiB
Ruby
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.6"
|
|
|
|
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 "0278b3ba485343a2c19b97c2b08552e3d35bd53e639400cb6b03849a1c680f0e"
|
|
end
|
|
on_arm do
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v#{version}/downloads/unbound-schemas_#{version}_darwin_arm64.tar.gz"
|
|
sha256 "bde46e3070886e22713e796a8f9a52552ac43157e068d9725c6cd800ac2eefc2"
|
|
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 "48537080248681594f363a86d1c5b1e2b1b4fa90c653bea9fdf5a996f9c2606d"
|
|
end
|
|
on_arm do
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v#{version}/downloads/unbound-schemas_#{version}_linux_arm64.tar.gz"
|
|
sha256 "9d1de5d6155b877685837502675f1893a38d98dcf66f7a588da26fc12fe35c78"
|
|
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
|