28 lines
743 B
Ruby
28 lines
743 B
Ruby
cask "fabfilter-timeless" do
|
|
version "3.05"
|
|
sha256 "06aba106babc767c4d7073128b3f0e6f68ec8e1017555c0afa786417a8dc5f4f"
|
|
|
|
url "https://download.fabfilter.com/fftimeless#{version.no_dots}.dmg"
|
|
name "FabFilter Timeless"
|
|
desc "Tape delay plug-in"
|
|
homepage "https://www.fabfilter.com/products/timeless-2-stereo-tape-delay-plug-in"
|
|
|
|
livecheck do
|
|
url "https://www.fabfilter.com/download"
|
|
strategy :page_match do |page|
|
|
match = page.match(/fftimeless(\d)(\d+)\.dmg/i)
|
|
next if match.blank?
|
|
|
|
"#{match[1]}.#{match[2]}"
|
|
end
|
|
end
|
|
|
|
depends_on macos: ">= :sierra"
|
|
|
|
pkg "FabFilter Timeless #{version} Installer.pkg"
|
|
|
|
uninstall pkgutil: "com.fabfilter.Timeless.#{version.major}"
|
|
|
|
# No zap stanza required
|
|
end
|