From a27bee66de48aa84952675e218cc8740629695a4 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Mon, 29 Mar 2021 12:46:59 -0400 Subject: [PATCH] pcre++: update homepage, add livecheck --- Formula/pcre++.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Formula/pcre++.rb b/Formula/pcre++.rb index db6ae558f00..2e7d36f4f32 100644 --- a/Formula/pcre++.rb +++ b/Formula/pcre++.rb @@ -1,11 +1,16 @@ class Pcrexx < Formula desc "C++ wrapper for the Perl Compatible Regular Expressions" - homepage "https://www.daemon.de/PCRE" + homepage "https://www.daemon.de/projects/pcrepp/" url "https://www.daemon.de/idisk/Apps/pcre++/pcre++-0.9.5.tar.gz" mirror "https://distfiles.openadk.org/pcre++-0.9.5.tar.gz" sha256 "77ee9fc1afe142e4ba2726416239ced66c3add4295ab1e5ed37ca8a9e7bb638a" license "LGPL-2.1-only" + livecheck do + url "https://www.daemon.de/projects/pcrepp/download/" + regex(/href=.*?pcre\+\+[._-]v?(\d+(?:\.\d+)+)\.t/i) + end + bottle do rebuild 2 sha256 cellar: :any, arm64_big_sur: "1232e288cacfd0124da243208e1584caf1925be4dcdcc7b94b96585fb50bfabf"