Skip to content

Commit

Permalink
Merge pull request #2679 from jedahan/presstube-screensavers
Browse files Browse the repository at this point in the history
Presstube screensavers
  • Loading branch information
rolandwalker committed Jan 30, 2014
2 parents 169c0ce + fb53a5f commit b369d96
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Casks/alib1.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
class Alib1 < Cask
url 'http://presstube.com/screensavers/Presstube-ALib1-mac.zip'
homepage 'http://presstube.com/blog/2011/alib1/'
version 'latest'
no_checksum
screen_saver 'Presstube-ALib1.app/Contents/Resources/Presstube - ALib1.saver'

after_install do
system "/usr/libexec/PlistBuddy -c \"Set :CFBundleName ALib1 (Presstube)\" #{destination_path}/presstube-alib1.app/Contents/Resources/Presstube\\ -\\ ALib1.saver/Contents/Info.plist"
end

caveats do
<<-EOS.undent
If you have issue running #{@cask}, try installing Adobe Air with
brew cask install adobe-air
EOS
end
end
20 changes: 20 additions & 0 deletions Casks/chunkulus.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
class Chunkulus < Cask
url 'http://presstube.com/screensavers/presstube-chunkulus-mac.zip'
homepage 'http://presstube.com/blog/2011/chunkulus/'
version 'latest'
no_checksum
screen_saver 'presstube-chunkulus.app/Contents/Resources/Presstube - Chunkulus.saver'

after_install do
system "/usr/libexec/PlistBuddy -c \"Set :CFBundleName Chunkulus (Presstube)\" #{destination_path}/presstube-chunkulus.app/Contents/Resources/Presstube\\ -\\ Chunkulus.saver/Contents/Info.plist"
end

caveats do
<<-EOS.undent
If you have issue running #{@cask}, try installing Adobe Air with
brew cask install adobe-air
EOS
end
end
20 changes: 20 additions & 0 deletions Casks/heart.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
class Heart < Cask
url 'http://presstube.com/screensavers/presstube-heart-mac.zip'
homepage 'http://presstube.com/blog/2011/heart/'
version 'latest'
no_checksum
screen_saver 'presstube-heart.app/Contents/Resources/Presstube - Heart.saver'

after_install do
system "/usr/libexec/PlistBuddy -c \"Set :CFBundleName Heart (Presstube)\" #{destination_path}/presstube-heart.app/Contents/Resources/Presstube\\ -\\ Heart.saver/Contents/Info.plist"
end

caveats do
<<-EOS.undent
If you have issue running #{@cask}, try installing Adobe Air with
brew cask install adobe-air
EOS
end
end

0 comments on commit b369d96

Please sign in to comment.