Files
homebrew-cask/Casks/d/diffmerge.rb
T
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

25 lines
836 B
Ruby

cask "diffmerge" do
version "4.2.1.1013"
sha256 "59efeede7beb69a5b3bf3126787f73930984b3b423094500fe73623656f66d43"
url "https://download.sourcegear.com/DiffMerge/#{version.major_minor_patch}/DiffMerge.#{version}.intel.stable.dmg"
name "DiffMerge"
desc "Visually compare and merge files"
homepage "https://www.sourcegear.com/diffmerge/"
livecheck do
url "https://www.sourcegear.com/diffmerge/downloads.html"
regex(/href=.*?DiffMerge[._-]v?(\d+(?:\.\d+)+)\.intel\.stable\.dmg/i)
end
app "DiffMerge.app"
binary "Extras/diffmerge.sh", target: "diffmerge"
manpage "Extras/diffmerge.1"
zap trash: [
"~/Library/Preferences/com.sourcegear.DiffMerge.plist",
"~/Library/Preferences/SourceGear DiffMerge Preferences",
"~/Library/Saved Application State/com.sourcegear.DiffMerge.savedState",
]
end