From 16001b090da6cf639db853ac8c4fa146d9c46292 Mon Sep 17 00:00:00 2001 From: Vadim Mikhailov Date: Thu, 17 Apr 2025 13:28:19 -0700 Subject: [PATCH] minor fixes to homebrew formula so it passes strict audit checks --- Formula/uhubctl.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Formula/uhubctl.rb b/Formula/uhubctl.rb index 1ac134d..833f0ae 100644 --- a/Formula/uhubctl.rb +++ b/Formula/uhubctl.rb @@ -1,13 +1,13 @@ class Uhubctl < Formula desc "USB hub per-port power control" homepage "https://github.com/mvp/uhubctl" - head "https://github.com/mvp/uhubctl.git" - url "https://github.com/mvp/uhubctl/archive/v2.6.0.tar.gz" + url "https://github.com/mvp/uhubctl/archive/refs/tags/v2.6.0.tar.gz" + head "https://github.com/mvp/uhubctl.git", branch: "master" sha256 "56ca15ddf96d39ab0bf8ee12d3daca13cea45af01bcd5a9732ffcc01664fdfa2" - license "GPL-2.0" + license "GPL-2.0-only" - depends_on "libusb" depends_on "pkg-config" => :build + depends_on "libusb" livecheck do url :stable @@ -19,6 +19,6 @@ class Uhubctl < Formula end test do - system "#{bin}/uhubctl", "-v" + system bin/"uhubctl", "-v" end end