2018-09-02 08:46:37 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://keybase.io
|
|
|
|
TERMUX_PKG_DESCRIPTION="keybase"
|
2018-09-17 19:14:04 +02:00
|
|
|
TERMUX_PKG_VERSION=2.6.0
|
|
|
|
TERMUX_PKG_SHA256=0c9df09a9a41380d4bca166a9028ebad95195e4408a2d1d93e41b04497d18269
|
2018-09-02 08:46:37 +02:00
|
|
|
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
|
|
|
|
}
|