From 03a49b11751f0711db78edeefcabf9305b0efac3 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Sat, 7 Sep 2024 11:18:13 -0400 Subject: [PATCH] font-andron-scriptor-web: add livecheck 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. --- Casks/font/font-a/font-andron-scriptor-web.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Casks/font/font-a/font-andron-scriptor-web.rb b/Casks/font/font-a/font-andron-scriptor-web.rb index 447a0e87e1e2..3b2aee80615d 100644 --- a/Casks/font/font-a/font-andron-scriptor-web.rb +++ b/Casks/font/font-a/font-andron-scriptor-web.rb @@ -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