23 lines
727 B
Ruby
23 lines
727 B
Ruby
cask 'rekordbox' do
|
|
version '5.8.3'
|
|
sha256 'db6ff1e5fbc4a31f2e7d20ca9f10c9f5eb9f6e538942998acf3d33eb3185d12b'
|
|
|
|
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
|