ledit: add license, update livecheck (#72014)
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>master
parent
ae97d21602
commit
413a4eab7a
|
@ -4,10 +4,14 @@ class Ledit < Formula
|
||||||
url "https://github.com/chetmurthy/ledit/archive/ledit-2-05.tar.gz"
|
url "https://github.com/chetmurthy/ledit/archive/ledit-2-05.tar.gz"
|
||||||
version "2.05"
|
version "2.05"
|
||||||
sha256 "493ee6eae47cc92f1bee5f3c04a2f7aaa0812e4bdf17e03b32776ab51421392c"
|
sha256 "493ee6eae47cc92f1bee5f3c04a2f7aaa0812e4bdf17e03b32776ab51421392c"
|
||||||
|
license "BSD-3-Clause"
|
||||||
|
|
||||||
livecheck do
|
livecheck do
|
||||||
url :homepage
|
url :stable
|
||||||
regex(/current .*? is v?(\d+(?:\.\d+)+) /i)
|
regex(/^ledit[._-]v?(\d+(?:[.-]\d+)+)$/i)
|
||||||
|
strategy :git do |tags, regex|
|
||||||
|
tags.map { |tag| tag[regex, 1]&.gsub("-", ".") }.compact
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
|
|
Loading…
Reference in New Issue