cask "soapui" do arch arm: "arm64", intel: "x64" version "5.8.0" sha256 arm: "2119fe26d55a4b7e1380b2caadbe301e489e8475a45429d47fb1409712edc6fd", intel: "076a5322d5a8f56d814b55d51115b1520221e8206b5f54beb1e0338230a48b22" url "https://dl.eviware.com/soapuios/#{version}/SoapUI-#{arch}-#{version}.dmg", verified: "dl.eviware.com/soapuios/" name "SmartBear SoapUI" desc "API testing tool" homepage "https://www.soapui.org/" livecheck do url "https://www.soapui.org/downloads/latest-release/" regex(%r{href=.*?/SoapUI[._-]#{arch}[._-]v?(\d+(?:\.\d+)+)\.dmg}i) end no_autobump! because: :requires_manual_review installer script: { executable: "SoapUI #{version} Installer.app/Contents/MacOS/JavaApplicationStub", # For future Cask maintainers, if any of these variables # change in future versions from SmartBear, you can run # the installer manually and then check the values in # the following file generated by the installation: # /Applications/SoapUI-${version}.app/Contents/java/app/.install4j/response.varfile args: [ "-q", # Unattended mode "-VcreateDesktopLinkAction$Boolean=false", # Do not create a desktop icon "-Vsys.component.132$Boolean=true", # Install SoapUI "-Vsys.component.714$Boolean=false", # Do not install source "-Vsys.component.1263$Boolean=false", # Do not install HermesJMS "-Vsys.component.2393$Boolean=false", # Do not install tutorials "-VshowFileAction$Boolean=false", # Do not show release notes "-Vsys.installationDir=#{appdir}", # Install to #{appdir} (default: /Applications) "-VexecutionLauncherAction$Boolean=false", # Do not launch SoapUI after installing ], } uninstall trash: "#{appdir}/SoapUI-#{version}.app" zap trash: [ "~/.soapuios", "~/default-soapui-workspace.xml", "~/Library/Application Support/SoapUI-*", "~/soapui-settings.xml", ] end