- for file in runewidth.go runewidth_posix.go; do
- curl -o $GOPATH/src/github.com/junegunn/fzf/src/vendor/github.com/junegunn/go-runewidth/$file \
- https://raw.githubusercontent.com/junegunn/go-runewidth/master/$file
- done
- for file in shellwords.go util_posix.go; do
- curl -o $GOPATH/src/github.com/junegunn/fzf/src/vendor/github.com/junegunn/go-shellwords/$file \
- https://raw.githubusercontent.com/junegunn/go-shellwords/master/$file
- done
-
- cd $GOPATH/src/github.com/junegunn/fzf/src/fzf
- CGO_ENABLED=1 go build -a -ldflags="-extldflags=-pie" -o $TERMUX_PREFIX/bin/fzf