Files
homebrew-cask/Casks/f/fabfilter-pro-r.rb
2023-11-06 15:24:31 +11:00

28 lines
708 B
Ruby

cask "fabfilter-pro-r" do
version "2.01"
sha256 "a5df1287d7733ce475af3d24a6f9eee03b0ea6ec620de31ade2f8db4e58bd4e0"
url "https://www.fabfilter.com/downloads/ffpror#{version.no_dots}.dmg"
name "FabFilter Pro-R"
desc "Reverb plug-in"
homepage "https://www.fabfilter.com/products/pro-r-reverb-plug-in"
livecheck do
url "https://www.fabfilter.com/download"
strategy :page_match do |page|
match = page.match(/ffpror(\d)(\d+)\.dmg/i)
next if match.blank?
"#{match[1]}.#{match[2]}"
end
end
depends_on macos: ">= :sierra"
pkg "FabFilter Pro-R #{version} Installer.pkg"
uninstall pkgutil: "com.fabfilter.Pro-R.#{version.major}"
# No zap stanza required
end