homebrew-cask/Casks/ridibooks.rb

16 lines
409 B
Ruby
Raw Normal View History

2014-03-10 06:25:56 +08:00
class Ridibooks < Cask
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'
2014-10-01 23:33:47 +08:00
license :unknown
2014-10-03 22:42:41 +08:00
container :type => :naked
2014-09-09 20:55:28 +08:00
preflight do
system '/bin/mv', '--', destination_path.join('getapp'), destination_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-03-10 06:25:56 +08:00
uninstall :pkgutil => 'com.ridibooks.Ridibooks'
end