ledit: add license, update livecheck (#72014)

Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
master
Sam Ford 2021-02-27 19:57:57 -05:00 committed by GitHub
parent ae97d21602
commit 413a4eab7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -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