homebrew-cask/Casks/smartsvn.rb

25 lines
686 B
Ruby

cask "smartsvn" do
version "14.1.2"
sha256 "f0573d0dce28257df5331d4adf24a576f87c0ec619a1bb533901f905c1746a60"
url "https://www.smartsvn.com/downloads/smartsvn/smartsvn-macosx-#{version.dots_to_underscores}.dmg"
name "SmartSVN"
desc "Subversion client"
homepage "https://www.smartsvn.com/"
livecheck do
url "https://www.smartsvn.com/documents/smartsvn/changelog.txt"
regex(/SmartSVN\s+v?(\d+(?:\.\d+)+)/i)
end
depends_on macos: ">= :el_capitan"
app "SmartSVN.app"
zap trash: [
"~/Library/Preferences/com.syntevo.smartsvn.plist",
"~/Library/Preferences/SmartSVN",
"~/Library/Saved Application State/com.syntevo.smartsvn.savedState",
]
end