mirror of
https://github.com/darwincereska/homebrew-software.git
synced 2026-02-12 04:04:41 -05:00
update: fixed formula
This commit is contained in:
@@ -6,15 +6,10 @@ class Xswitcher < Formula
|
|||||||
sha256 ""
|
sha256 ""
|
||||||
license "MIT"
|
license "MIT"
|
||||||
|
|
||||||
|
depends_on "go" => :build
|
||||||
|
|
||||||
def install
|
def install
|
||||||
args = []
|
system "make", "build"
|
||||||
if Hardware::CPU.arm?
|
|
||||||
args << "ARCH=arm64"
|
|
||||||
elsif Hardware::CPU.intel?
|
|
||||||
args << "ARCH=x86_64"
|
|
||||||
end
|
|
||||||
|
|
||||||
system "make", "build", *args
|
|
||||||
bin.install "xswitcher"
|
bin.install "xswitcher"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user