class Bkl < Formula @@tag = "v1.0.55" sha256 "dec7be9875fb18c8224fe1b43eff66e2c5cc3262ba3a2c4229416ec986981602" desc "Evaluates bkl configuration layer files" homepage "https://bkl.sh" url "https://git.bkl.sh/bkl/bkl/archive/#{@@tag}.tar.gz" license "Apache-2.0" head "https://git.bkl.sh/bkl/bkl.git", branch: "main" depends_on "go" => :build def install ENV["CGOENABLED"] = "0" system "go", "build", "-tags=bkl-#{@@tag},bkl-src-brew", "-trimpath", "-ldflags=-extldflags=-static", "-o", "#{bin}/", "./..." end end