homebrew-cask/Casks/ridibooks.rb

17 lines
501 B
Ruby
Raw Normal View History

2014-11-14 01:26:49 +08:00
cask :v1 => 'ridibooks' do
2014-09-17 19:42:59 +08:00
version :latest
2014-05-08 20:51:31 +08:00
sha256 :no_check
url 'http://ridibooks.com/getapp?os=mac'
homepage 'http://ridibooks.com/support/introduce_appdown'
license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
2014-10-03 22:42:41 +08:00
container :type => :naked
2014-09-09 20:55:28 +08:00
preflight do
2014-11-21 22:37:55 +08:00
system '/bin/mv', '--', staged_path.join('getapp'), staged_path.join('ridibooks.pkg')
2014-03-10 06:25:56 +08:00
end
2014-09-10 23:37:06 +08:00
pkg 'ridibooks.pkg'
2014-11-22 22:12:45 +08:00
2014-03-10 06:25:56 +08:00
uninstall :pkgutil => 'com.ridibooks.Ridibooks'
end