Files
homebrew-cask/Casks/c/chessx.rb
Mike McQuaid aa461148bb Move all remaining casks to sharded subdirectories.
The migration of `orka.rb` and then `o*.rb` has worked well without
complaint so: let's move everything else, too.
2023-08-09 12:08:38 +01:00

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