homebrew-cask/Casks/spectacle.rb

23 lines
733 B
Ruby
Raw Normal View History

2014-11-14 01:27:00 +08:00
cask :v1 => 'spectacle' do
2014-12-09 20:25:25 +08:00
2014-12-11 00:55:21 +08:00
if MacOS.release <= :mountain_lion
version '0.8.6'
sha256 '3e367d2d7e6fe7d5f41d717d49cb087ba7432624b71ddd91c0cfa9d5a5459b7c'
else
version '0.8.8'
sha256 '7c7386e526cbabedb1e16f2e3366c7842712f590985fe9d4f57ff9c0a7854bcf'
appcast 'http://spectacleapp.com/updates/appcast.xml',
:sha256 => '5d75e2e07886ca135916e224b4b5c1468d9af1ea8ef355db33b28bff511fa6b2'
end
# amazonaws.com is the official download host per the vendor homepage
2014-09-26 20:09:12 +08:00
url "https://s3.amazonaws.com/spectacle/downloads/Spectacle+#{version}.zip"
2013-12-14 22:28:20 +08:00
homepage 'http://spectacleapp.com/'
license :mit
2014-09-16 00:06:23 +08:00
app 'Spectacle.app'
2014-11-22 22:24:20 +08:00
2014-09-18 19:58:00 +08:00
zap :delete => '~/Library/Preferences/com.divisiblebyzero.Spectacle.plist'
end