This commit is contained in:
Ian Gulliver
2023-11-27 15:12:09 -08:00
parent 8e6feea8a0
commit df3782f22b

15
Formula/b/bkl.rb Normal file
View File

@@ -0,0 +1,15 @@
class Bkl < Formula
desc "Evaluates bkl configuration layer files"
homepage "https://bkl.gopatchy.io"
url "https://github.com/gopatchy/bkl/archive/refs/tags/v1.0.29.tar.gz"
sha256 "8ceab68e715cb7f6b70c43b2eae0a3da84a086457c7d9f15755744a6afd45c6b"
license "Apache-2.0"
head "https://github.com/gopatchy/bkl/", branch: "main"
depends_on "go" => :build
def install
ENV["CGOENABLED"] = "0"
system "go", "build", "-trimpath", *std_go_args(ldflags: "-extldflags=-static")
end
end