Files
homebrew-taps/Casks/unbound-schemas.rb
T

42 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.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.6.2/downloads/unbound-schemas_0.6.2_darwin_amd64.tar.gz"
sha256 "e83ba93a3d287b3edeab96ddeb4b0958a415ffdaf1c27f3884d9b5ebe3979d6a"
end
on_arm do
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.6.2/downloads/unbound-schemas_0.6.2_darwin_arm64.tar.gz"
sha256 "8ce720391e06c41314655fb87ac07f22ecbed5e8046bbdcee7167c9b24960066"
end
end
on_linux do
on_intel do
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.6.2/downloads/unbound-schemas_0.6.2_linux_amd64.tar.gz"
sha256 "978a8a7706c5cce6fda9c47eaa265ac926024adc23361f4a3b7e1a611169c889"
end
on_arm do
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.6.2/downloads/unbound-schemas_0.6.2_linux_arm64.tar.gz"
sha256 "77c8adccc8fabca2c48cf31eaa02b05973f6529b0c6209077488376b78dcfb68"
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