homebrew-cask/Casks/clamxav.rb

29 lines
703 B
Ruby

cask "clamxav" do
version "3.3.1,9025"
sha256 "599e12e4960e72770d913891f0c4f901f61365ddf98f3e1219508deffc438f34"
url "https://cdn.clamxav.com/ClamXAVdownloads/ClamXAV_#{version.csv.first}_#{version.csv.second}.zip"
name "ClamXAV"
desc "Anti-virus and malware scanner"
homepage "https://www.clamxav.com/"
livecheck do
url "https://www.clamxav.com/sparkle/appcast#{version.major}.xml"
strategy :sparkle
end
auto_updates true
app "ClamXAV.app"
zap trash: [
"~/Library/Caches/uk.co.markallan.clamxav",
"~/Library/Logs/clamXav-scan.*",
]
caveats do
# this happens sometime after installation, but still worth warning about
files_in_usr_local
end
end