1 cask "lyrics-master" do
3 sha256 "8672ba9f1980fe7fbe8f9ad2a5d5cdeb516d922ef445bd2a36bb9cc5cbeeb4f4"
5 url "http://www.kenichimaehashi.com/lyricsmaster/download/LyricsMaster#{version.no_dots}.dmg"
7 desc "Find and download lyrics"
8 homepage "http://www.kenichimaehashi.com/lyricsmaster/"
12 regex(/href=.*?LyricsMaster[._-]?v?(\d+(?:\.\d+)*)\.dmg/i)
13 strategy :page_match do |page, regex|
14 match = page.match(regex)
17 match[1].chars.join(".")
21 app "Lyrics Master.app"
23 zap trash: "~/Library/Preferences/preferences.lyricsmaster"