Skip to content

Commit

Permalink
vcprompt: fixed the source issue by using tar.gz from the github rele…
Browse files Browse the repository at this point in the history
…ase.

this fix is a part of issue Homebrew#139929.

minor changes

changed the source
  • Loading branch information
xakep8 committed Oct 8, 2024
1 parent 87b5855 commit f969463
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Formula/v/vcprompt.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
class Vcprompt < Formula
desc "Provide version control info in shell prompts"
homepage "https://hg.gerg.ca/vcprompt"
url "https://hg.gerg.ca/vcprompt/archive/1.2.1.tar.gz"
sha256 "fdf26566e2bd73cf734b7228f78c09a0f53d0166662fcd482a076ed01c9dbe36"
homepage "https://github.com/powerman/vcprompt"
url "https://github.com/powerman/vcprompt/archive/refs/tags/1.2.1.tar.gz"
sha256 "7cf52f3bd124ffb2d666135e74b0077b9a49e1a8600896ae35dd532a9a416dd4"
license "GPL-2.0-or-later"

livecheck do
url "https://hg.gerg.ca/vcprompt/tags"
regex(%r{href=.*?/v?(\d+(?:\.\d+)+)/?["' >]}i)
end

bottle do
rebuild 2
sha256 cellar: :any, arm64_sequoia: "19274660bf8229fb34bc9da7f0cd03ea347ae45e5f17c09a5d39f95a64db4bf3"
Expand Down

0 comments on commit f969463

Please sign in to comment.