homebrew-cask-versions/Casks/avast.rb
Josh Hagins 81d7d4600e Add cask for Avast Mac Security
Create a cask for Avast Mac Security. Not entirely sure if the
uninstall stanza is correct. The dmg comes with an uninstaller
with the filename 'com.avast.uninstall.app', but I can't find
anything in the docs about using a pre-packaged uninstaller.

Remove broken uninstall stanza

Add uninstall stanza suggested by @rolandwalker

This stanza seems to work. Application and support files all removed
after uninstall.
2014-11-29 15:00:00 -05:00

12 lines
308 B
Ruby

cask :v1 => 'avast' do
version :latest
sha256 :no_check
url 'http://download.ff.avast.com/mac/avast_free_antivirus_mac_setup.dmg'
homepage 'http://www.avast.com/'
license :commercial
pkg 'Avast Mac Security.pkg'
uninstall :script => '/Library/Application Support/Avast/hub/uninstall.sh'
end