From 93a354611e38a6949add5c2e5ccc93ef79b9755f Mon Sep 17 00:00:00 2001 From: Woodpecker CI Date: Tue, 3 Jun 2025 14:32:36 +0000 Subject: Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI] --- fzf/abuild | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 fzf/abuild (limited to 'fzf/abuild') diff --git a/fzf/abuild b/fzf/abuild new file mode 100644 index 00000000..94c4acc9 --- /dev/null +++ b/fzf/abuild @@ -0,0 +1,25 @@ +name=fzf +version=0.62.0 +release=1 +source="https://github.com/junegunn/${name}/archive/v${version}/${name}-${version}.tar.gz" + +build() { + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + + mkdir -p $SRC/.gopath + export GOPATH=$SRC/.gopath + + go build \ + -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -o $name . + go build -o $name . + + install -dm755 $PKG/usr/bin + install -m755 fzf bin/fzf-tmux $PKG/usr/bin/ +} -- cgit v1.2.3