sha2: add livecheck, update urls
parent
10712cf36c
commit
bc7e230ba2
|
@ -1,9 +1,14 @@
|
|||
class Sha2 < Formula
|
||||
desc "Implementation of SHA-256, SHA-384, and SHA-512 hash algorithms"
|
||||
homepage "https://www.aarongifford.com/computers/sha.html"
|
||||
url "https://www.aarongifford.com/computers/sha2-1.0.1.tgz"
|
||||
homepage "https://aarongifford.com/computers/sha.html"
|
||||
url "https://aarongifford.com/computers/sha2-1.0.1.tgz"
|
||||
sha256 "67bc662955c6ca2fa6a0ce372c4794ec3d0cd2c1e50b124e7a75af7e23dd1d0c"
|
||||
|
||||
livecheck do
|
||||
url :homepage
|
||||
regex(/href=.*?sha2[._-]v?(\d+(?:\.\d+)+)\.t/i)
|
||||
end
|
||||
|
||||
bottle do
|
||||
cellar :any_skip_relocation
|
||||
rebuild 3
|
||||
|
|
Loading…
Reference in New Issue