homebrew-cask/Casks/tableau-prep.rb

35 lines
1.0 KiB
Ruby

cask "tableau-prep" do
version "2021.4.3"
sha256 "4cd19f79f87a0621565c2067521484fc77b44a0c23fd80a19336d17926b4b3b4"
url "https://downloads.tableau.com/esdalt/tableau_prep/#{version}/TableauPrep-#{version.dots_to_hyphens}.dmg"
name "Tableau Prep"
name "Tableau Prep Builder"
desc "Combine, shape, and clean your data for analysis"
homepage "https://www.tableau.com/support/releases/prep"
livecheck do
url "https://www.tableau.com/downloads/prep/mac"
strategy :header_match do |headers|
headers["location"][/TableauPrep-(\d+(?:-\d+)+)\.dmg/i, 1].tr("-", ".")
end
end
depends_on macos: ">= :el_capitan"
pkg "Tableau Prep Builder.pkg"
uninstall pkgutil: [
"com.amazon.redshiftodbc",
"com.simba.sparkodbc",
"com.simba.sqlserverodbc",
"com.tableausoftware.desktopShortcut",
"com.tableausoftware.FLEXNet.11.*",
"com.tableausoftware.Maestro.app",
"com.tableausoftware.oracle",
"com.tableausoftware.postgresql",
"com.tableausoftware.telemetry",
"simba.sparkodbc",
]
end