Merge pull request #198803 from Homebrew/bump-wizcli-0.69.0
[Homebrew/homebrew-cask.git] / Casks / v / vimcal.rb
blobdf53c6bba184e8655962827b811571a62d401ae1
1 cask "vimcal" do
2   arch arm: "-arm64"
3   host_suffix = on_arch_conditional arm: "m1", intel: "production"
5   version "1.0.31"
6   sha256 arm:   "8591360b7d8209454ea894af784d2f8e6491bcc56a53c4f99f72600cb9a2f560",
7          intel: "a3f764b1d0829f214caa04bb0f9aff803b109c02b28d74f66522f1d81994e3a9"
9   url "https://vimcal-#{host_suffix}.s3.amazonaws.com/Vimcal-#{version}#{arch}.dmg",
10       verified: "vimcal-#{host_suffix}.s3.amazonaws.com/"
11   name "Vimcal"
12   desc "Calendar"
13   homepage "https://vimcal.com/"
15   livecheck do
16     url "https://vimcal-#{host_suffix}.s3.amazonaws.com/latest-mac.yml"
17     strategy :electron_builder
18   end
20   auto_updates true
21   depends_on macos: ">= :catalina"
23   app "Vimcal.app"
25   zap trash: [
26     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.vimcal.app.sfl*",
27     "~/Library/Application Support/Vimcal",
28     "~/Library/Preferences/com.vimcal.app.plist",
29     "~/Library/Saved Application State/com.vimcal.app.savedState",
30   ]
31 end