2014-11-14 01:25:21 +08:00
|
|
|
cask :v1 => '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/'
|
2014-12-20 21:45:42 +08:00
|
|
|
license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
|
2014-06-27 08:00:56 +08:00
|
|
|
|
2014-01-28 23:19:04 +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
|
|
|
|
|
2015-01-05 21:46:50 +08:00
|
|
|
depends_on :cask => 'adobe-air'
|
2014-01-28 23:19:04 +08:00
|
|
|
end
|