From fb53a5f3b1380408edecaedf0f19b64a44b7f0f9 Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Tue, 28 Jan 2014 10:19:04 -0500 Subject: [PATCH] initial presstube screensavers --- Casks/alib1.rb | 20 ++++++++++++++++++++ Casks/chunkulus.rb | 20 ++++++++++++++++++++ Casks/heart.rb | 20 ++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 Casks/alib1.rb create mode 100644 Casks/chunkulus.rb create mode 100644 Casks/heart.rb diff --git a/Casks/alib1.rb b/Casks/alib1.rb new file mode 100644 index 0000000000000..95fe9a77a7c68 --- /dev/null +++ b/Casks/alib1.rb @@ -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 diff --git a/Casks/chunkulus.rb b/Casks/chunkulus.rb new file mode 100644 index 0000000000000..deb2acb79c2e6 --- /dev/null +++ b/Casks/chunkulus.rb @@ -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 diff --git a/Casks/heart.rb b/Casks/heart.rb new file mode 100644 index 0000000000000..1bd51be9dda5c --- /dev/null +++ b/Casks/heart.rb @@ -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