homebrew-cask/Casks/cocoaspell.rb

28 lines
1.1 KiB
Ruby

class Cocoaspell < Cask
version '2.1'
sha256 '06d6cd7f2b04c47f553c5a3a33ebe6bc5651457521cbe7e3ead84a6cb218053c'
url "http://people.ict.usc.edu/~leuski/cocoaspell/cocoAspell.#{version}.dmg"
homepage 'http://cocoaspell.leuski.net/'
license :unknown
pkg 'cocoAspell.pkg'
uninstall :pkgutil => 'net.leuski.cocoaspell.*',
:delete => [
'/Application Support/cocoAspell/aspell6-en-6.0-0',
'/Library/PreferencePanes/Spelling.prefPane',
]
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
zap :delete => [
'~/.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',
]
end