2014-11-14 01:26:53 +08:00
|
|
|
cask :v1 => 'send-to-kindle' do
|
2014-12-30 05:29:30 +08:00
|
|
|
version '1.0.0.221'
|
|
|
|
sha256 '87d21d392a5439dfafa5ee44ba68ea76fae06db7fcb38b8e848bc1ce1fb982e3'
|
2014-06-27 08:01:41 +08:00
|
|
|
|
2015-01-09 12:34:34 +08:00
|
|
|
# amazonaws.com is the official download host per the vendor homepage
|
2014-09-26 20:09:11 +08:00
|
|
|
url "https://s3.amazonaws.com/sendtokindle/SendToKindleForMac-installer-v#{version}.pkg"
|
2015-01-30 04:28:57 +08:00
|
|
|
name 'Send to Kindle'
|
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',
|
2014-12-30 05:43:59 +08:00
|
|
|
'~/Library/Preferences/com.amazon.SendToKindle.plist',
|
2014-10-11 22:32:57 +08:00
|
|
|
'~/Library/Logs/SendToKindleInstall.log',
|
|
|
|
]
|
2013-12-11 01:13:24 +08:00
|
|
|
end
|