homebrew-cask/Casks/clamxav.rb

20 lines
643 B
Ruby
Raw Normal View History

2013-06-01 01:30:16 +08:00
class Clamxav < Cask
2014-07-07 08:33:01 +08:00
version '2.6.4'
sha256 'bbde8181307566bd592930f7318a7c43e253788bf44bab9bae1140b1e50e694f'
2014-09-26 20:08:49 +08:00
url "http://www.clamxav.com/downloads/ClamXav_#{version}.dmg"
2014-06-03 02:14:57 +08:00
appcast 'http://www.clamxav.com/sparkle/profileInfo.php'
2013-06-01 01:30:16 +08:00
homepage 'http://www.clamxav.com/'
2014-10-01 23:32:39 +08:00
license :unknown
2014-09-16 00:05:23 +08:00
app 'ClamXav.app'
2014-09-09 20:55:26 +08:00
postflight do
# Don't ask to move the app bundle to /Applications
system '/usr/bin/defaults', 'write', 'uk.co.markallan.clamxav', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
end
caveats do
# this happens sometime after installation, but still worth warning about
files_in_usr_local
end
2013-06-01 01:30:16 +08:00
end