Files
homebrew/Formula/bkl.rb
Ian Gulliver 73c6315fe4 v1.0.38
2024-08-05 13:18:16 -07:00

18 lines
571 B
Ruby

class Bkl < Formula
@@tag = "v1.0.38"
sha256 "68fb3ef1068e704481b1681316cca2e989e968de0390a2736fd94a2288ff9573"
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/", 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