2013-11-21 22:16:23 +08:00
|
|
|
class Cocoaspell < Cask
|
|
|
|
version '2.1'
|
2014-02-24 20:52:32 +08:00
|
|
|
sha256 '06d6cd7f2b04c47f553c5a3a33ebe6bc5651457521cbe7e3ead84a6cb218053c'
|
2014-06-27 08:01:04 +08:00
|
|
|
|
|
|
|
url 'http://people.ict.usc.edu/~leuski/cocoaspell/cocoAspell.2.1.dmg'
|
|
|
|
homepage 'http://cocoaspell.leuski.net/'
|
|
|
|
|
2014-09-10 23:37:00 +08:00
|
|
|
pkg 'cocoAspell.pkg'
|
2014-09-13 22:23:01 +08:00
|
|
|
uninstall :pkgutil => 'net.leuski.cocoaspell.*',
|
|
|
|
:files => [
|
|
|
|
'/Application Support/cocoAspell/aspell6-en-6.0-0',
|
|
|
|
'/Library/PreferencePanes/Spelling.prefPane'
|
|
|
|
]
|
2014-01-15 06:41:11 +08:00
|
|
|
caveats <<-EOS.undent
|
2013-11-21 22:16:23 +08:00
|
|
|
Non-English dictionaries must be installed separately. For more information,
|
|
|
|
see http://people.ict.usc.edu/~leuski/cocoaspell/install_dict.php .
|
|
|
|
EOS
|
2014-09-14 01:19:42 +08:00
|
|
|
zap :files => [
|
|
|
|
'~/.aspell.conf',
|
|
|
|
'~/.aspell.en.prepl',
|
|
|
|
# Debatable. The Pws holds user-created content, though typically
|
|
|
|
# created through the application, and the user is not likely aware
|
|
|
|
# of this particular file.
|
|
|
|
# '~/.aspell.en.pws',
|
|
|
|
]
|
2013-11-21 22:16:23 +08:00
|
|
|
end
|