Files
homebrew/Formula/bkl.rb
Ian Gulliver 4c4f4e8f1e v1.0.45
2025-01-29 09:19:34 -08:00

18 lines
574 B
Ruby

class Bkl < Formula
@@tag = "v1.0.45"
sha256 "61f3fabe078cb8f3c0e6f16cbf4cf6b66fd104721f583f659cbfd64572cc5060"
desc "Evaluates bkl configuration layer files"
homepage "https://bkl.gopatchy.io"
url "https://github.com/gopatchy/bkl/archive/refs/tags/#{@@tag}.tar.gz"
license "Apache-2.0"
head "https://github.com/gopatchy/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