homebrew-cask/Casks/s/spamsieve.rb

30 lines
922 B
Ruby

cask "spamsieve" do
version "3.0.4"
sha256 "dff9cba1d657f784d146123b8b47d0a3943c248d4ca9da321981bd23a9816a74"
url "https://c-command.com/downloads/SpamSieve-#{version}.dmg"
name "SpamSieve"
desc "Spam filtering extension for e-mail clients"
homepage "https://c-command.com/spamsieve/"
livecheck do
url :homepage
regex(%r{href=.*?/SpamSieve[._-]v?(\d+(?:\.\d+)+)\.dmg}i)
end
auto_updates true
app "SpamSieve.app"
zap trash: [
"~/Library/Application Support/SpamSieve",
"~/Library/Caches/com.apple.helpd/Generated/SpamSieve Help*",
"~/Library/Caches/com.c-command.SpamSieve",
"~/Library/HTTPStorages/com.c-command.SpamSieve",
"~/Library/LaunchAgents/com.c-command.SpamSieve.LaunchAgent.plist",
"~/Library/Logs/SpamSieve",
"~/Library/Preferences/com.c-command.SpamSieve.plist",
"~/Library/Saved Application State/com.c-command.SpamSieve.savedState",
]
end