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.1"
|
|
|
|
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.1/downloads/unbound-schemas_0.6.1_darwin_amd64.tar.gz"
|
|
sha256 "432620864edf503ec88776398fcbf6654f394144826d902a76d0d2280e3f9e40"
|
|
end
|
|
on_arm do
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.6.1/downloads/unbound-schemas_0.6.1_darwin_arm64.tar.gz"
|
|
sha256 "fe1da5d0bbad9da28358dda079677360436b160baf5fcd1797aa3d69b95bf844"
|
|
end
|
|
end
|
|
|
|
on_linux do
|
|
on_intel do
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.6.1/downloads/unbound-schemas_0.6.1_linux_amd64.tar.gz"
|
|
sha256 "83836d27a8b2e6417fe3ae257eca08dbb564b57074e676487b0e612d8d2a9bb3"
|
|
end
|
|
on_arm do
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.6.1/downloads/unbound-schemas_0.6.1_linux_arm64.tar.gz"
|
|
sha256 "06fe2a9e17f12b2b5f3d437fdd4e7ca311718a36158a6f655f9aafd42f2adac3"
|
|
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
|