homebrew-cask/Casks/cocoaspell.rb

35 lines
1.1 KiB
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'cocoaspell' do
2016-11-10 16:41:46 +08:00
version '2.5'
sha256 'd8dd01e6471df86f55d5f272a33fdb421f49a2fb923a9858a8772ec4367d333c'
2016-11-24 19:31:18 +08:00
url "http://people.ict.usc.edu/~leuski/cocoaspell/cocoAspell.#{version}.dmg",
user_agent: :fake
2018-06-12 22:37:26 +08:00
appcast 'http://people.ict.usc.edu/~leuski/cocoaspell/'
2015-01-05 04:03:46 +08:00
name 'cocoAspell'
homepage 'http://people.ict.usc.edu/~leuski/cocoaspell/'
2016-11-10 16:41:46 +08:00
depends_on macos: '>= :el_capitan'
2014-09-10 23:37:00 +08:00
pkg 'cocoAspell.pkg'
2014-11-22 22:12:38 +08:00
uninstall pkgutil: 'net.leuski.cocoaspell.*',
delete: [
'/Application Support/cocoAspell/aspell6-en-6.0-0',
'/Library/Application Support/cocoAspell',
'/Library/PreferencePanes/Spelling.prefPane',
]
zap trash: [
'~/.aspell.conf',
'~/.aspell.en.prepl',
'~/.aspell.en.pws',
'~/Library/Preferences/cocoAspell',
]
2014-10-10 20:13:29 +08:00
caveats <<~EOS
2018-05-07 19:49:10 +08:00
Non-English dictionaries must be installed separately. For more information, see
2014-10-10 20:13:29 +08:00
http://people.ict.usc.edu/~leuski/cocoaspell/install_dict.php
EOS
end