homebrew-cask/Casks/bassjump.rb

30 lines
1.1 KiB
Ruby
Raw Normal View History

class Bassjump < Cask
2014-09-26 20:08:47 +08:00
if MacOS.version < :mavericks
url 'http://ffe82a399885f9f28605-66638985576304cbe11c530b9b932f18.r24.cf2.rackcdn.com/BassJumpSoundSystem-2.0.3-249-ML.mpkg.zip'
version '2.0.3'
sha256 '8e4dffa6bb3b532b994f379d19d70903f59fc019916f10cba9d01b8075d69a7f'
2014-09-26 20:08:47 +08:00
pkg "BassJump Sound System-#{version}-249-ML.mpkg"
else
url 'http://ffe82a399885f9f28605-66638985576304cbe11c530b9b932f18.r24.cf2.rackcdn.com/BassJumpInstaller_2.5.1.dmg.zip'
version '2.5.1'
sha256 '14408480cded51f6334753639e973ebbf2fc40f34ff64e1c35d2f32507d88afd'
2014-09-26 20:08:47 +08:00
nested_container "BassJumpInstaller_#{version}.dmg"
2014-09-10 23:36:59 +08:00
pkg 'BassJumpInstaller.pkg'
end
2014-09-26 20:08:47 +08:00
homepage 'http://www.twelvesouth.com/product/bassjump-2-for-macbook'
2014-10-01 23:32:32 +08:00
license :unknown
2014-09-26 20:08:47 +08:00
caveats do
reboot
end
2014-09-26 20:08:47 +08:00
uninstall :pkgutil => [
2014-09-26 20:08:47 +08:00
'com.twelvesouth.bassjump.installer.halplugin',
'com.twelvesouth.bassjump.installer.overridekext',
'com.twelvesouth.bassjump.installer.prefpane',
],
:kext => 'com.twelvesouth.driver.BassJumpOverrideDriver'
end