mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Merge pull request #167194 from marcencov/master
segger-ozone 3.30d (new cask)
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
cask "segger-ozone" do
|
||||
arch arm: "arm64", intel: "x86_64"
|
||||
|
||||
version "3.30d"
|
||||
sha256 arm: "d650298a37e21f2faba576e7d00b8488bbd2c29757386bfb48ddc0151c5f6896",
|
||||
intel: "721ba365155403d71b3b16d476782dae4f99ce05c880630c176fac061951848b"
|
||||
|
||||
url "https://www.segger.com/downloads/jlink/Ozone_MacOSX_V#{version.no_dots}_#{arch}.pkg",
|
||||
using: :post,
|
||||
data: {
|
||||
"accept_license_agreement" => "accepted",
|
||||
"non_emb_ctr" => "confirmed",
|
||||
"submit" => "Download software",
|
||||
}
|
||||
name "Segger Ozone J-Link Debugger"
|
||||
desc "Software and Documentation pack for Segger Ozone J-Link debugger"
|
||||
homepage "https://www.segger.com/downloads/jlink#Ozone"
|
||||
|
||||
livecheck do
|
||||
url "https://www.segger.com/downloads/jlink/ReleaseNotes_Ozone.html"
|
||||
regex(/<h2[^>]*>\s*Version\s*(\d+(?:\.\d+)+[a-z]?)/i)
|
||||
end
|
||||
|
||||
pkg "Ozone_MacOSX_V#{version.no_dots}_#{arch}.pkg"
|
||||
|
||||
uninstall quit: "com.segger.Ozone.*",
|
||||
pkgutil: "com.segger.pkg.Ozone"
|
||||
|
||||
zap trash: [
|
||||
"~/.SEGGER",
|
||||
"~/Library/Application Support/SEGGER/Ozone",
|
||||
"~/Library/Saved Application State/com.segger.Ozone.*savedState",
|
||||
]
|
||||
|
||||
caveats do
|
||||
license @cask.url.to_s
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user