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.4"
|
|
|
|
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 "eb9f04aad3aa5f97b3a506ae4871779160185bc062713cdf1e1568dd8bb97ed2"
|
|
end
|
|
on_arm do
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v#{version}/downloads/unbound-schemas_#{version}_darwin_arm64.tar.gz"
|
|
sha256 "51e6ec79a9426b4bb26150d872d6188210a41c80619c6f4c3f2680797dcb264e"
|
|
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 "41925f8568c072a4dd198bf806eb1bac51e83bae2a8f9d0eb7d2a54e04f939f5"
|
|
end
|
|
on_arm do
|
|
url "https://gitlab.com/unboundsoftware/schemas/-/releases/v#{version}/downloads/unbound-schemas_#{version}_linux_arm64.tar.gz"
|
|
sha256 "cf4371d2878da11b61f8f705f4202831ae954a22b13df219e106d888f0602d23"
|
|
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
|