mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
The migration of `orka.rb` and then `o*.rb` has worked well without complaint so: let's move everything else, too.
27 lines
788 B
Ruby
27 lines
788 B
Ruby
cask "chessx" do
|
|
version "1.6.0"
|
|
sha256 "40caf7d6fa85f934a539420a6cc5844d0c5bee1667889b8c59a0caeb10002c52"
|
|
|
|
url "https://downloads.sourceforge.net/chessx/chessx/#{version}/chessx-#{version}.dmg",
|
|
verified: "downloads.sourceforge.net/chessx/"
|
|
name "ChessX"
|
|
desc "Chess database"
|
|
homepage "https://chessx.sourceforge.io/"
|
|
|
|
livecheck do
|
|
url "https://sourceforge.net/projects/chessx/rss?path=/chessx"
|
|
regex(%r{url=.*?/chessx[._-]v?(\d+(?:\.\d+)+)\.dmg}i)
|
|
end
|
|
|
|
pkg "chessx-installer.mpkg"
|
|
|
|
uninstall pkgutil: "net.sourceforge.chessx"
|
|
|
|
zap trash: [
|
|
"~/.config/chessx",
|
|
"~/Library/Application Support/chessx",
|
|
"~/Library/Preferences/net.sourceforge.chessx.plist",
|
|
"~/Library/Saved Application State/net.sourceforge.chessx.savedState",
|
|
]
|
|
end
|