mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
The migration of `orka.rb` and then `o*.rb` has worked well without complaint so: let's move everything else, too.
28 lines
710 B
Ruby
28 lines
710 B
Ruby
cask "fabfilter-micro" do
|
|
version "1.26"
|
|
sha256 "595eff8f30ed0d81d27c4d2978b0a7b2614259c7e36af2edd9f1c47c982cc559"
|
|
|
|
url "https://download.fabfilter.com/ffmicro#{version.no_dots}.dmg"
|
|
name "FabFilter Micro"
|
|
desc "Filter plug-in"
|
|
homepage "https://www.fabfilter.com/products/micro-mini-filter-plug-in"
|
|
|
|
livecheck do
|
|
url "https://www.fabfilter.com/download"
|
|
strategy :page_match do |page|
|
|
match = page.match(/ffmicro(\d)(\d+)\.dmg/i)
|
|
next if match.blank?
|
|
|
|
"#{match[1]}.#{match[2]}"
|
|
end
|
|
end
|
|
|
|
depends_on macos: ">= :sierra"
|
|
|
|
pkg "FabFilter Micro #{version} Installer.pkg"
|
|
|
|
uninstall pkgutil: "com.fabfilter.Micro.#{version.major}"
|
|
|
|
# No zap stanza required
|
|
end
|