2015-12-18 09:15:28 +08:00
|
|
|
cask 'cocoaspell' do
|
2013-11-21 22:16:23 +08:00
|
|
|
version '2.1'
|
2014-02-24 20:52:32 +08:00
|
|
|
sha256 '06d6cd7f2b04c47f553c5a3a33ebe6bc5651457521cbe7e3ead84a6cb218053c'
|
2014-06-27 08:01:04 +08:00
|
|
|
|
2015-01-17 10:39:54 +08:00
|
|
|
# usc.edu is the official download host per the vendor homepage
|
2014-09-26 20:08:50 +08:00
|
|
|
url "http://people.ict.usc.edu/~leuski/cocoaspell/cocoAspell.#{version}.dmg"
|
2015-01-05 04:03:46 +08:00
|
|
|
name 'cocoAspell'
|
2014-06-27 08:01:04 +08:00
|
|
|
homepage 'http://cocoaspell.leuski.net/'
|
2015-10-31 03:15:49 +08:00
|
|
|
license :gratis
|
2014-06-27 08:01:04 +08:00
|
|
|
|
2014-09-10 23:37:00 +08:00
|
|
|
pkg 'cocoAspell.pkg'
|
2014-11-22 22:12:38 +08:00
|
|
|
|
2014-09-13 22:23:01 +08:00
|
|
|
uninstall :pkgutil => 'net.leuski.cocoaspell.*',
|
2014-09-18 19:57:55 +08:00
|
|
|
:delete => [
|
2016-01-04 03:18:01 +08:00
|
|
|
'/Application Support/cocoAspell/aspell6-en-6.0-0',
|
|
|
|
'/Library/PreferencePanes/Spelling.prefPane',
|
2014-09-13 22:23:01 +08:00
|
|
|
]
|
2016-01-04 03:18:01 +08:00
|
|
|
|
2014-09-18 19:57:55 +08:00
|
|
|
zap :delete => [
|
2016-01-04 03:18:01 +08:00
|
|
|
'~/.aspell.conf',
|
|
|
|
'~/.aspell.en.prepl',
|
|
|
|
'~/.aspell.en.pws',
|
|
|
|
]
|
2014-10-10 20:13:29 +08:00
|
|
|
|
|
|
|
caveats <<-EOS.undent
|
|
|
|
Non-English dictionaries must be installed separately. For more information, see
|
|
|
|
|
|
|
|
http://people.ict.usc.edu/~leuski/cocoaspell/install_dict.php
|
|
|
|
EOS
|
2013-11-21 22:16:23 +08:00
|
|
|
end
|