homebrew-cask/Casks/h/hookmark.rb

32 lines
975 B
Ruby

cask "hookmark" do
version "5.1.3,2023.05"
sha256 "a4f258f9434e0542f2473a41d1667da6d24b0eba4d0c5a546cc5cf9c9f7e382a"
url "https://hookproductivity.com/wp-content/uploads/#{version.csv.second.major}/#{version.csv.second.minor}/Hookmark-app-#{version.csv.first}.dmg_.zip",
user_agent: :fake
name "Hook"
desc "Link and retrieve key information"
homepage "https://hookproductivity.com/"
livecheck do
skip "No reliable way to get version info"
end
auto_updates true
depends_on macos: ">= :el_capitan"
app "Hookmark.app"
uninstall launchctl: "com.cogsciapps.hookautolaunchhelper",
quit: "com.cogsciapps.hook"
zap trash: [
"~/Library/Application Support/com.cogsciapps.hook",
"~/Library/Caches/com.cogsciapps.hook",
"~/Library/HTTPStorages/com.cogsciapps.hook",
"~/Library/Logs/com.cogsciapps.hook",
"~/Library/Preferences/com.cogsciapps.hook.plist",
"~/Library/WebKit/com.cogsciapps.hook",
]
end