20 lines
594 B
Bash
20 lines
594 B
Bash
TERMUX_PKG_HOMEPAGE=https://keybase.io
|
|
TERMUX_PKG_DESCRIPTION="keybase"
|
|
TERMUX_PKG_VERSION=2.11.0
|
|
TERMUX_PKG_SHA256=858d81a25f141eff130c8c3725e511e79e2e28c67e1daeafe29e6dca6c138b72
|
|
TERMUX_PKG_SRCURL=https://github.com/keybase/client/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
|
|
|
termux_step_make_install() {
|
|
cd $TERMUX_PKG_SRCDIR
|
|
|
|
termux_setup_golang
|
|
|
|
mkdir -p .gopath/src/github.com/keybase
|
|
ln -sf "$PWD" .gopath/src/github.com/keybase/client
|
|
export GOPATH="$PWD/.gopath"
|
|
|
|
go build -v -tags 'production' -o keybase github.com/keybase/client/go/keybase
|
|
|
|
cp keybase $TERMUX_PREFIX/bin/keybase
|
|
}
|