Files
homebrew/Formula/bkl.rb
Ian Gulliver 68907300df v1.0.44
2025-01-28 16:07:41 -08:00

18 lines
574 B
Ruby

class Bkl < Formula
@@tag = "v1.0.44"
sha256 "353e1dda8a2ad2e63e434ab393ad0aaa7caf0d94f9aeb2a387c55ea5ad41159b"
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