Files
homebrew/Formula/bkl.rb
Ian Gulliver 9555b4ef7a v1.0.30
2023-12-05 14:02:28 -08:00

16 lines
514 B
Ruby

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.30.tar.gz"
sha256 "a8c2439d39b542eeab8556914e30c4c81e0db00ccec3eba9c6202e6fa1ea5a97"
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", "-ldflags=-extldflags=-static", "-o", "#{bin}/", "./..."
end
end