phinze/homebrew-cask

View on GitHub
Casks/k/keka@beta.rb

Summary

Maintainability
A
55 mins
Test Coverage
cask "keka@beta" do
  version "1.4.0-dev.r5423"
  sha256 "f25f579c532fd5e528aa4d61db8625988da75d032195cf5381cdc9c4f9122a7e"

  url "https://github.com/aonez/Keka/releases/download/v#{version}/Keka-#{version}.dmg",
      verified: "github.com/aonez/Keka/"
  name "Keka"
  desc "File archiver"
  homepage "https://www.keka.io/#beta"

  livecheck do
    url :url
    regex(/^v?((?:\d+(?:\.\d+)+)-(?:beta|dev)(?:\.\w?\d+)?)?/i)
  end

  auto_updates true
  conflicts_with cask: "keka"

  app "Keka.app"

  zap trash: [
    "~/Library/Application Support/Keka",
    "~/Library/Caches/com.aone.keka",
    "~/Library/Preferences/com.aone.keka.plist",
    "~/Library/Saved Application State/com.aone.keka.savedState",
  ]
end