Skip to content

Commit

Permalink
cdb: add livecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
samford authored May 30, 2021
1 parent 6941435 commit d33b8a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Formula/cdb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ class Cdb < Formula
url "https://cr.yp.to/cdb/cdb-0.75.tar.gz"
sha256 "1919577799a50c080a8a05a1cbfa5fa7e7abc823d8d7df2eeb181e624b7952c5"

livecheck do
url "https://cr.yp.to/cdb/install.html"
regex(/href=.*?cdb[._-]v?(\d+(?:\.\d+)+)\.t/i)
end

bottle do
rebuild 2
sha256 cellar: :any_skip_relocation, arm64_big_sur: "c9136d67f3a62785add35b9b205169b9ace86da2c86edf4fe1c16cb833465bf5"
Expand Down

0 comments on commit d33b8a2

Please sign in to comment.