homebrew-cask/Casks/rekordbox.rb

23 lines
727 B
Ruby

cask 'rekordbox' do
version '5.4.3'
sha256 'f08e83968d410195e343b21194fc5c4142b8531bfeaef072f7d8c3350427d7c5'
url "https://rekordbox.com/_app/files/Install_rekordbox_#{version.dots_to_underscores}.pkg.zip"
appcast 'https://rekordbox.com/en/support/releasenote.php'
name 'rekordbox'
homepage 'https://rekordbox.com/en/'
auto_updates true
depends_on macos: '>= :yosemite'
pkg "Install_rekordbox_#{version.dots_to_underscores}.pkg"
uninstall pkgutil: "com.pioneer.rekordbox.#{version.major}.*",
delete: "/Applications/rekordbox #{version.major}"
zap trash: [
'~/Library/Application Support/Pioneer/rekordbox',
'~/Library/Pioneer/rekordbox',
]
end