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.5.2"
|
|
|
|
livecheck do
|
|
skip "Auto-generated on release."
|
|
end
|
|
|
|
binary "schemactl"
|
|
|
|
on_macos do
|
|
on_intel do
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.5.2/downloads/unbound-schemas_0.5.2_darwin_amd64.tar.gz"
|
|
sha256 "c121f8672e5ad25bd305b9c91b264ba03eb32f2a6042b9c78730176ffa640569"
|
|
end
|
|
on_arm do
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.5.2/downloads/unbound-schemas_0.5.2_darwin_arm64.tar.gz"
|
|
sha256 "8f68c82e433bfbe4cd34a2371423a887c9e81f6dadd7260c11ad6f7938503d3d"
|
|
end
|
|
end
|
|
|
|
on_linux do
|
|
on_intel do
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.5.2/downloads/unbound-schemas_0.5.2_linux_amd64.tar.gz"
|
|
sha256 "b70d23c7c8483f7a1d862722f7c9d4954f8190794bfcf301e5c376badaf4e998"
|
|
end
|
|
on_arm do
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.5.2/downloads/unbound-schemas_0.5.2_linux_arm64.tar.gz"
|
|
sha256 "6273e23b966de5c6c372ed2a2627eb2120c36ff3f3799d534529b15239aaf352"
|
|
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
|