homebrew-cask/Casks/send-to-kindle.rb

21 lines
965 B
Ruby
Raw Normal View History

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'
# 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'
homepage 'http://www.amazon.com/gp/sendtokindle/mac'
license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
2014-09-26 20:09:11 +08:00
pkg "SendToKindleForMac-installer-v#{version}.pkg"
2014-10-11 22:32:57 +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