homebrew-cask/Casks/rekordbox.rb

23 lines
727 B
Ruby

cask 'rekordbox' do
version '5.6.0'
sha256 '1231d3ac99acce3a36f5f572fa21dbdfc75ef302c89a3f3a9c4c649d5faa3b8f'
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