phinze/homebrew-cask

View on GitHub
Casks/f/faxbot.rb

Summary

Maintainability
A
0 mins
Test Coverage
cask "faxbot" do
  version "2.6.2"
  sha256 :no_check

  url "https://www.hosy.de/faxer/Faxer.zip"
  name "Faxbot"
  desc "Send Faxes via FRITZ!Box"
  homepage "https://www.hosy.de/faxer/"

  livecheck do
    url "https://www.hosy.de/faxer/version.xml"
    strategy :sparkle do |item|
      item.title[/Version (\d+(?:\.\d+)*)/i, 1].to_s
    end
  end

  depends_on macos: ">= :sierra"

  app "Faxbot.app"

  zap trash: [
    "~/Library/Application Support/de.hosy.Faxer",
    "~/Library/Application Support/Faxbot",
    "~/Library/Caches/de.hosy.Faxer",
    "~/Library/Preferences/de.hosy.Faxer.plist",
  ]
end