46 lines
1.4 KiB
Ruby
46 lines
1.4 KiB
Ruby
# This file was generated by GoReleaser. DO NOT EDIT.
|
|
cask "unbound-schemas" do
|
|
desc ""
|
|
homepage "https://schemas.unbound.se/"
|
|
version "0.6.0"
|
|
|
|
livecheck do
|
|
skip "Auto-generated on release."
|
|
end
|
|
|
|
binary "schemactl"
|
|
|
|
on_macos do
|
|
on_intel do
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.6.0/downloads/unbound-schemas_0.6.0_darwin_amd64.tar.gz"
|
|
sha256 "929729eb9abe62fe09f4fdd6e81de0b1e3507e90b3d98a36c29b5ee8fc94a5b2"
|
|
end
|
|
on_arm do
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.6.0/downloads/unbound-schemas_0.6.0_darwin_arm64.tar.gz"
|
|
sha256 "923f8b79afbeb528dff0c15ca2c7628835cc3de856613f20063e2fde22bc1aa7"
|
|
end
|
|
end
|
|
|
|
on_linux do
|
|
on_intel do
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.6.0/downloads/unbound-schemas_0.6.0_linux_amd64.tar.gz"
|
|
sha256 "2266e52950c43da04a4ce0f39da356ee1d1574f88b7068f3859037ebb33b18c4"
|
|
end
|
|
on_arm do
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.6.0/downloads/unbound-schemas_0.6.0_linux_arm64.tar.gz"
|
|
sha256 "6c91d75625fa29f18866b6d7c904293c1e75ac3eab63787c529a636ba17ddaa9"
|
|
end
|
|
end
|
|
|
|
conflicts_with formula: [
|
|
"unbound-schemas",
|
|
]
|
|
|
|
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
|