blob: e7cf9837620a84b6916daa713aa065a3ff2c9e3e (
plain) (
tree)
|
|
#!/bin/sh
export GOVER='1.13.6'
export GOPATH="${SRCDIR}"
export PATH="${PATH}:/usr/local/go/bin:${GOPATH}/bin"
cd $SRCDIR
mkdir src bin pkg
wget "https://dl.google.com/go/go${GOVER}.linux-amd64.tar.gz"
tar -C /usr/local -xzf "go${GOVER}.linux-amd64.tar.gz"
rm "go${GOVER}.linux-amd64.tar.gz"
go version
go get -d github.com/espebra/filebin
cd ${GOPATH}/src/github.com/espebra/filebin
make get-deps
make install
mv ${SRCDIR}/bin ${DESTDIR}/go
|