excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / w / wxmacmolplt.rb
blob80058012d4724620dcb1b4d0c9185f0e6f6a6b35
1 cask "wxmacmolplt" do
2   version "7.7.3,026tyu30ck2xeldbxhgjkmmuxvwg87mc"
3   sha256 "5a822760b8f3160cfcac0ab24a32a3aff5af8fc7d16d78ea736651df1e9145df"
5   url "https://uofi.box.com/shared/static/#{version.csv.second}.gz",
6       verified: "uofi.box.com/shared/static/"
7   name "wxMacMolPlt"
8   desc "Cross-platform GUI input generator for GAMESS"
9   homepage "https://brettbode.github.io/wxmacmolplt"
11   livecheck do
12     url "https://brettbode.github.io/wxmacmolplt/downloads.html"
13     regex(/([a-z0-9]+)\.gz">\n.*wxMacMolPlt\s(\d+(?:\.\d+)*)/i)
14     strategy :page_match do |page, regex|
15       match = page.match(regex)
16       next if match.blank?
18       "#{match[2]},#{match[1]}"
19     end
20   end
22   app "MacMolPlt/wxMacMolPlt.app"
24   zap trash: [
25     "~/Library/Preferences/gov.ameslab.wxMacMolplt.plist",
26     "~/Library/Saved Application State/gov.ameslab.wxMacMolplt.savedState",
27   ]
28 end