homebrew-cask/Casks/fme.rb

35 lines
1.2 KiB
Ruby

cask "fme" do
version "2020.2.1,b20806"
sha256 "c3b8a47d174f0794abf9279156a7a886b965e147be63a247c76798a8c46368c6"
url "https://downloads.safe.com/fme/#{version.major}/fme-desktop-#{version.before_comma}-#{version.after_comma}-macosx.dmg"
appcast "https://www.macupdater.net/cgi-bin/extract_text/extract_text_split_easy.cgi?encoding=utf8&url=https://www.safe.com/api/downloads/&splitter_1=beta&index_1=0",
must_contain: "#{version.before_comma}-#{version.after_comma}"
name "FME Desktop"
desc "Platform for integrating spatial data"
homepage "https://www.safe.com/"
installer script: {
executable: "FME Desktop Installer.app/Contents/MacOS/applet",
sudo: true,
}
uninstall quit: [
"com.safe.fmeworkbench",
"com.safe.datainspector",
"com.safe.fmequicktranslator",
"com.safe.fmehelp",
],
delete: [
"/Applications/FME #{version.major_minor}",
"/Library/FME/#{version.major_minor}",
]
zap trash: [
"~/Library/Application Support/FME",
"~/Library/Application Support/FME Desktop Help",
"~/Library/Application Support/FME Help",
"~/Library/Application Support/FME Workbench",
]
end