homebrew-cask/Casks/cisco-jabber.rb

32 lines
1.1 KiB
Ruby

cask "cisco-jabber" do
version "20220728050403"
sha256 "e7240238ab80fdb1de801308011a720feb9f310617ae95842955d3893d70d46e"
url "https://binaries.webex.com/jabberclientmac/#{version}/Install_Cisco-Jabber-Mac.pkg"
name "Cisco Jabber"
desc "Jabber client from Cisco"
homepage "https://www.webex.com/downloads/jabber.html"
livecheck do
url :homepage
regex(%r{jabberAppUrl =.*?(\d+)/Install[._-]Cisco[._-]Jabber[._-]Mac.pkg}i)
end
pkg "Install_Cisco-Jabber-Mac.pkg"
uninstall pkgutil: [
"com.cisco.Jabber",
"com.cisco.pkg.jabberplugin",
"com.jabra.CiscoJabberPlugin",
"com.logitech.LogiUCPlugin",
"com.PlantronicsPlugin.CiscoJabberPlugin",
"com.Sennheiser.pkg.SennheiserSDKv789904MacSDKv8602",
"com.sennheiser.CiscoJabberPlugin",
],
delete: [
"/Applications/Cisco Jabber.app",
"/Library/Logs/Jabber/",
"/Library/Application Support/Cisco/Unified Communications/Jabber/",
]
end