mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
The migration of `orka.rb` and then `o*.rb` has worked well without complaint so: let's move everything else, too.
24 lines
745 B
Ruby
24 lines
745 B
Ruby
cask "td-agent" do
|
|
version "4.4.1"
|
|
sha256 "518d9089f8f163a6da51fe55622535776fc5dd5b45bdb277745cf8a14f600ff7"
|
|
|
|
url "https://s3.amazonaws.com/packages.treasuredata.com/#{version.major}/macosx/td-agent-#{version}.dmg",
|
|
verified: "s3.amazonaws.com/packages.treasuredata.com/"
|
|
name "td-agent"
|
|
desc "Fluentd distribution package"
|
|
homepage "https://www.fluentd.org/"
|
|
|
|
livecheck do
|
|
url "https://td-agent-package-browser.herokuapp.com/#{version.major}/macosx"
|
|
regex(/href=.*?td-agent[._-]?v?(\d+(?:\.\d+)+)\.dmg/i)
|
|
end
|
|
|
|
pkg "td-agent-#{version}.pkg"
|
|
|
|
uninstall pkgutil: [
|
|
"com.treasuredata.tdagent",
|
|
"test.treasuredatainc.pkg.td-agent",
|
|
],
|
|
launchctl: "td-agent"
|
|
end
|