homebrew-cask/Casks/rekordbox.rb

23 lines
727 B
Ruby

cask 'rekordbox' do
version '5.8.5'
sha256 'da2a2e67c6bafa1b96439b8e20c4d1713139802e91c86a2391ac61e7cf32adaa'
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