2014-11-14 01:26:53 +08:00
|
|
|
cask :v1 => 'send-to-kindle' do
|
2014-08-13 23:04:19 +08:00
|
|
|
version '1.0.0.220'
|
|
|
|
sha256 'f43009bb0e48ed7e5a750a90163a6362f49e6518c698c5c49be0dce0d01fe3af'
|
2014-06-27 08:01:41 +08:00
|
|
|
|
2014-09-26 20:09:11 +08:00
|
|
|
url "https://s3.amazonaws.com/sendtokindle/SendToKindleForMac-installer-v#{version}.pkg"
|
2014-06-27 08:01:41 +08:00
|
|
|
homepage 'http://www.amazon.com/gp/sendtokindle/mac'
|
2014-12-20 21:47:10 +08:00
|
|
|
license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
|
2014-06-27 08:01:41 +08:00
|
|
|
|
2014-09-26 20:09:11 +08:00
|
|
|
pkg "SendToKindleForMac-installer-v#{version}.pkg"
|
2014-10-11 22:32:57 +08:00
|
|
|
|
2014-06-05 03:04:15 +08:00
|
|
|
uninstall :launchctl => 'com.amazon.sendtokindle.launcher',
|
|
|
|
:pkgutil => 'com.amazon.SendToKindleMacInstaller.pkg'
|
2014-10-11 22:32:57 +08:00
|
|
|
zap :delete => [
|
|
|
|
'~/Library/Application Support/Amazon/SendToKindle',
|
|
|
|
'~/Library/Logs/SendToKindleInstall.log',
|
|
|
|
]
|
2013-12-11 01:13:24 +08:00
|
|
|
end
|