homebrew-cask/Casks/q/qth.rb

26 lines
668 B
Ruby

cask "qth" do
version "0.8.7"
sha256 "08fcb26d4628e249bdefbba43535b985e4ca8a3e90ecad0f09f9b04087ef61fe"
url "https://www.w8wjb.com/qth/QTH-#{version}.dmg"
name "QTH"
desc "APRS client application"
homepage "https://www.w8wjb.com/wp/qth/"
livecheck do
url "https://www.w8wjb.com/wp/qth/qth-app-changelog/"
regex(%r{href=.*?/QTH[._-]v?(\d+(?:\.\d+)+)\.dmg}i)
end
depends_on macos: ">= :sierra"
app "QTH.app"
zap trash: [
"~/Library/Application Support/com.w8wjb.QTH",
"~/Library/Caches/com.apple.helpd/Generated/com.w8wjb.QTH.help*",
"~/Library/Logs/com.w8wjb.QTH",
"~/Library/Preferences/com.w8wjb.QTH.plist",
]
end