Skip to content

Commit

Permalink
font-andron-scriptor-web: add livecheck
Browse files Browse the repository at this point in the history
livecheck is unable to identify versions for
`font-andron-scriptor-web` by default. This adds a `livecheck` block
that checks the homepage, which links to the zip file.
  • Loading branch information
samford committed Sep 13, 2024
1 parent 8c77fd7 commit 03a49b1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Casks/font/font-a/font-andron-scriptor-web.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
name "Andron Scriptor Web"
homepage "https://folk.uib.no/hnooh/mufi/fonts/"

livecheck do
url :homepage
regex(/AND[._-]SCR[._-]WEB[._-]v?(\d+(?:\.\d+)+)\.zip/i)
end

font "AND_SCR_WEB_#{version}/Andron Scriptor Web.ttf"

# No zap stanza required
Expand Down

0 comments on commit 03a49b1

Please sign in to comment.