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.3"
|
|
|
|
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 "f9d59e028ed45aca414e54cff1bd07931b2a0eea487051ab2f52c9202756649b"
|
|
end
|
|
on_arm do
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v#{version}/downloads/unbound-schemas_#{version}_darwin_arm64.tar.gz"
|
|
sha256 "a451875ea7d7004625bc7bfff998c304b0e93fea6e64647f55cad69b01f82b72"
|
|
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 "628a597f44cd30ce981d78e2cd57fe0ba66bed70c613a8a35759db001dc5f3f0"
|
|
end
|
|
on_arm do
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v#{version}/downloads/unbound-schemas_#{version}_linux_arm64.tar.gz"
|
|
sha256 "7f76c2e55b9ddc991ab07f7d5d31a67c8be022e7bc78e22ee41b757101b52863"
|
|
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
|