Skip to content

Commit 16001b0

Browse files
committed
minor fixes to homebrew formula so it passes strict audit checks
1 parent 42cdfb0 commit 16001b0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Formula/uhubctl.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
class Uhubctl < Formula
22
desc "USB hub per-port power control"
33
homepage "https://github.com/mvp/uhubctl"
4-
head "https://github.com/mvp/uhubctl.git"
5-
url "https://github.com/mvp/uhubctl/archive/v2.6.0.tar.gz"
4+
url "https://github.com/mvp/uhubctl/archive/refs/tags/v2.6.0.tar.gz"
5+
head "https://github.com/mvp/uhubctl.git", branch: "master"
66
sha256 "56ca15ddf96d39ab0bf8ee12d3daca13cea45af01bcd5a9732ffcc01664fdfa2"
7-
license "GPL-2.0"
7+
license "GPL-2.0-only"
88

9-
depends_on "libusb"
109
depends_on "pkg-config" => :build
10+
depends_on "libusb"
1111

1212
livecheck do
1313
url :stable
@@ -19,6 +19,6 @@ def install
1919
end
2020

2121
test do
22-
system "#{bin}/uhubctl", "-v"
22+
system bin/"uhubctl", "-v"
2323
end
2424
end

0 commit comments

Comments
 (0)