forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcocoaspell.rb
34 lines (27 loc) · 1.07 KB
/
cocoaspell.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
cask 'cocoaspell' do
version '2.5'
sha256 'd8dd01e6471df86f55d5f272a33fdb421f49a2fb923a9858a8772ec4367d333c'
url "http://people.ict.usc.edu/~leuski/cocoaspell/cocoAspell.#{version}.dmg",
user_agent: :fake
appcast 'http://people.ict.usc.edu/~leuski/cocoaspell/'
name 'cocoAspell'
homepage 'http://people.ict.usc.edu/~leuski/cocoaspell/'
depends_on macos: '>= :el_capitan'
pkg 'cocoAspell.pkg'
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',
]
caveats <<~EOS
Non-English dictionaries must be installed separately. For more information, see
http://people.ict.usc.edu/~leuski/cocoaspell/install_dict.php
EOS
end