diff options
author | Cem Keylan <cem@ckyln.com> | 2020-11-02 10:26:44 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-11-02 10:26:44 +0300 |
commit | 54d45e17ad79179cb1881c7908d3a6d449803bef (patch) | |
tree | 62028d512f1f73398f48b0e4f256d75dab1febe0 /community/fzf/build | |
parent | 02f41705d1970be0f50fe793f5d0b9daf69146e0 (diff) | |
download | repository-54d45e17ad79179cb1881c7908d3a6d449803bef.tar.gz |
fzf: bump to 0.24.1
Diffstat (limited to 'community/fzf/build')
-rwxr-xr-x | community/fzf/build | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/community/fzf/build b/community/fzf/build index bdd90d7c..a8c6f07f 100755 --- a/community/fzf/build +++ b/community/fzf/build @@ -1,10 +1,12 @@ #!/bin/sh -e -make -make install +export GOPATH=$PWD/gopath +trap "go clean -modcache" EXIT INT +go mod vendor -mkdir -p "$1/usr/bin" -cp bin/* "$1/usr/bin/" +make FZF_VERSION="$2" FZF_REVISION="${2##*.}" +make FZF_VERSION="$2" FZF_REVISION="${2##*.}" install -mkdir "$1/usr/share" +mkdir -p "$1/usr/bin" "$1/usr/share" +cp bin/* "$1/usr/bin/" cp -r man "$1/usr/share/man" |