aboutsummaryrefslogtreecommitdiff
path: root/community/lf/build
diff options
context:
space:
mode:
Diffstat (limited to 'community/lf/build')
-rwxr-xr-xcommunity/lf/build8
1 files changed, 2 insertions, 6 deletions
diff --git a/community/lf/build b/community/lf/build
index b684eb8d..8de69f51 100755
--- a/community/lf/build
+++ b/community/lf/build
@@ -1,8 +1,4 @@
#!/bin/sh -e
-export GOPATH=$PWD/gopath
-trap "go clean -modcache" EXIT INT
-go mod vendor
-
-CGO_ENABLED=0 go build
-install -Dm755 lf "$1/usr/bin/lf"
+CGO_ENABLED=0 go build -v -mod=vendor
+clinst -Dm755 lf "$1/usr/bin/lf"