2014-01-28 23:19:04 +08:00
|
|
|
class Chunkulus < Cask
|
|
|
|
version 'latest'
|
2014-05-08 20:51:31 +08:00
|
|
|
sha256 :no_check
|
2014-06-27 08:01:03 +08:00
|
|
|
|
|
|
|
url 'http://presstube.com/screensavers/presstube-chunkulus-mac.zip'
|
|
|
|
homepage 'http://presstube.com/blog/2011/chunkulus/'
|
|
|
|
|
2014-01-28 23:19:04 +08:00
|
|
|
screen_saver 'presstube-chunkulus.app/Contents/Resources/Presstube - Chunkulus.saver'
|
|
|
|
|
|
|
|
after_install do
|
2014-03-01 22:55:48 +08:00
|
|
|
system '/usr/libexec/PlistBuddy', '-c', 'Set :CFBundleName Chunkulus (Presstube)', "#{destination_path}/presstube-chunkulus.app/Contents/Resources/Presstube - Chunkulus.saver/Contents/Info.plist"
|
2014-01-28 23:19:04 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
caveats do
|
|
|
|
<<-EOS.undent
|
|
|
|
If you have issue running #{@cask}, try installing Adobe Air with
|
|
|
|
|
|
|
|
brew cask install adobe-air
|
|
|
|
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|