chezmoi: fix for on-device build (#5399)

This commit is contained in:
Krishna Kanhaiya 2020-06-13 17:05:41 +05:30 committed by GitHub
parent 4d3a0a1631
commit 6df4ab1b35

View File

@ -15,10 +15,11 @@ termux_step_make_install() {
mkdir -p "${GOPATH}/src/github.com/twpayne"
cp -a "${TERMUX_PKG_SRCDIR}" "${GOPATH}/src/github.com/twpayne/chezmoi"
cd "${GOPATH}/src/github.com/twpayne/chezmoi"
go install
install -Dm700 $TERMUX_PKG_BUILDDIR/bin/*/chezmoi $TERMUX_PREFIX/bin/
go get -d -v
go build
install -Dm700 -t $TERMUX_PREFIX/bin/ ${GOPATH}/src/github.com/twpayne/chezmoi/chezmoi
mkdir -p $TERMUX_PREFIX/share/bash-completions \
$TERMUX_PREFIX/share/fish/completions \
$TERMUX_PREFIX/share/doc/chezmoi