2015-12-18 09:15:28 +08:00
|
|
|
cask 'alib1' do
|
2014-03-01 22:29:33 +08:00
|
|
|
# note: "1" is not a version number, but an intrinsic part of the product name
|
2014-09-17 19:42:37 +08:00
|
|
|
version :latest
|
2014-05-08 20:51:31 +08:00
|
|
|
sha256 :no_check
|
2014-06-27 08:00:56 +08:00
|
|
|
|
|
|
|
url 'http://presstube.com/screensavers/Presstube-ALib1-mac.zip'
|
2015-01-04 10:48:49 +08:00
|
|
|
name 'ALib1'
|
2014-06-27 08:00:56 +08:00
|
|
|
homepage 'http://presstube.com/blog/2011/alib1/'
|
2015-05-23 21:16:57 +08:00
|
|
|
license :gratis
|
2014-06-27 08:00:56 +08:00
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
depends_on cask: 'adobe-air'
|
2014-01-28 23:19:04 +08:00
|
|
|
|
2016-01-04 17:06:21 +08:00
|
|
|
screen_saver 'Presstube-ALib1.app/Contents/Resources/Presstube - ALib1.saver'
|
|
|
|
|
2014-09-09 20:55:26 +08:00
|
|
|
postflight do
|
2014-11-13 08:14:12 +08:00
|
|
|
system '/usr/libexec/PlistBuddy', '-c', 'Set :CFBundleName ALib1 (Presstube)', "#{staged_path}/presstube-alib1.app/Contents/Resources/Presstube - ALib1.saver/Contents/Info.plist"
|
2014-01-28 23:19:04 +08:00
|
|
|
end
|
|
|
|
end
|