excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / l / lyrics-master.rb
blob27b8a9b1c0e98fd8f0c18c8ece4d6c22e2809bb6
1 cask "lyrics-master" do
2   version "2.5.5.2"
3   sha256 "8672ba9f1980fe7fbe8f9ad2a5d5cdeb516d922ef445bd2a36bb9cc5cbeeb4f4"
5   url "http://www.kenichimaehashi.com/lyricsmaster/download/LyricsMaster#{version.no_dots}.dmg"
6   name "Lyrics Master"
7   desc "Find and download lyrics"
8   homepage "http://www.kenichimaehashi.com/lyricsmaster/"
10   livecheck do
11     url :homepage
12     regex(/href=.*?LyricsMaster[._-]?v?(\d+(?:\.\d+)*)\.dmg/i)
13     strategy :page_match do |page, regex|
14       match = page.match(regex)
15       next if match.blank?
17       match[1].chars.join(".")
18     end
19   end
21   app "Lyrics Master.app"
23   zap trash: "~/Library/Preferences/preferences.lyricsmaster"
24 end