Files
homebrew/Formula/bkl.rb
Ian Gulliver 22883efcf9 v1.0.37
2024-05-02 21:24:22 -07:00

18 lines
571 B
Ruby

class Bkl < Formula
@@tag = "v1.0.37"
sha256 "86709f7134e77051f3c459c1d4fdd8a9b8bad8fdde391e6e5519160f809cdd15"
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