34 lines
963 B
Ruby
34 lines
963 B
Ruby
cask "tableau" do
|
|
version "2020.4.0"
|
|
sha256 "611161e6313fb51e7eec3e6b5c2614e85b1b5b341b8e67095b95f5d4fa739fc4"
|
|
|
|
url "https://downloads.tableau.com/tssoftware/TableauDesktop-#{version.dots_to_hyphens}.dmg"
|
|
name "Tableau Desktop"
|
|
desc "Popular analytics platform"
|
|
homepage "https://www.tableau.com/products/desktop/download"
|
|
|
|
livecheck do
|
|
url "https://www.tableau.com/downloads/desktop/mac"
|
|
strategy :header_match do |headers|
|
|
headers["location"][/-(\d+-\d+-\d+)\.dmg/i, 1].tr("-", ".")
|
|
end
|
|
end
|
|
|
|
depends_on macos: ">= :yosemite"
|
|
|
|
pkg "Tableau Desktop.pkg"
|
|
|
|
uninstall pkgutil: [
|
|
"com.amazon.redshiftodbc",
|
|
"simba.sparkodbc",
|
|
"com.simba.sparkodbc",
|
|
"com.simba.sqlserverodbc",
|
|
"com.tableausoftware.Desktop.app",
|
|
"com.tableausoftware.DesktopShortcut",
|
|
"com.tableausoftware.FLEXNet.11.*",
|
|
"com.tableausoftware.mysql",
|
|
"com.tableausoftware.oracle",
|
|
"com.tableausoftware.postgresql",
|
|
]
|
|
end
|