homebrew-cask/Casks/bassjump.rb

36 lines
1.3 KiB
Ruby
Raw Normal View History

2014-11-14 01:25:27 +08:00
cask :v1 => 'bassjump' do
2014-12-11 00:55:19 +08:00
if MacOS.release <= :mountain_lion
version '2.0.3'
sha256 '8e4dffa6bb3b532b994f379d19d70903f59fc019916f10cba9d01b8075d69a7f'
2014-10-05 01:59:00 +08:00
2015-01-17 10:14:56 +08:00
# rackcdn.com is the official download host per the vendor homepage
2014-10-05 01:59:00 +08:00
url "http://ffe82a399885f9f28605-66638985576304cbe11c530b9b932f18.r24.cf2.rackcdn.com/BassJumpSoundSystem-#{version}-249-ML.mpkg.zip"
2015-02-03 04:32:23 +08:00
name 'BassJump'
2014-10-05 01:59:00 +08:00
2014-09-26 20:08:47 +08:00
pkg "BassJump Sound System-#{version}-249-ML.mpkg"
else
version '2.5.1'
sha256 '14408480cded51f6334753639e973ebbf2fc40f34ff64e1c35d2f32507d88afd'
2014-10-05 01:59:00 +08:00
2015-01-17 10:14:56 +08:00
# rackcdn.com is the official download host per the vendor homepage
2014-10-05 01:59:00 +08:00
url "http://ffe82a399885f9f28605-66638985576304cbe11c530b9b932f18.r24.cf2.rackcdn.com/BassJumpInstaller_#{version}.dmg.zip"
2014-10-09 23:40:46 +08:00
container :nested => "BassJumpInstaller_#{version}.dmg"
2014-09-10 23:36:59 +08:00
pkg 'BassJumpInstaller.pkg'
end
2014-09-26 20:08:47 +08:00
2015-06-29 14:32:18 +08:00
homepage 'https://www.twelvesouth.com/product/bassjump-2-for-macbook'
2014-10-16 02:38:08 +08:00
license :gratis
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'
2014-10-10 20:13:29 +08:00
caveats do
reboot
end
end