2018-09-02 08:46:37 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://keybase.io
|
2019-04-17 23:13:33 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Key directory that maps social media identities to encryption keys"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
2020-05-11 21:55:55 +02:00
|
|
|
TERMUX_PKG_VERSION=5.4.2
|
2018-09-02 08:46:37 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/keybase/client/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2020-05-11 21:55:55 +02:00
|
|
|
TERMUX_PKG_SHA256=74b7c51d187bb756182b4ccd4e7e9d10b63c87fbc58632fcbef6e05bf1e15035
|
2019-05-11 03:18:04 +02:00
|
|
|
TERMUX_PKG_REPLACES="kbfs"
|
|
|
|
TERMUX_PKG_CONFLICTS="kbfs"
|
2018-09-02 08:46:37 +02:00
|
|
|
|
|
|
|
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
|
2019-05-11 03:18:04 +02:00
|
|
|
go build -v -tags 'production' -o git-remote-keybase github.com/keybase/client/go/kbfs/kbfsgit/git-remote-keybase
|
|
|
|
go build -v -tags 'production' -o kbfsfusebin github.com/keybase/client/go/kbfs/kbfsfuse
|
2018-09-02 08:46:37 +02:00
|
|
|
|
|
|
|
cp keybase $TERMUX_PREFIX/bin/keybase
|
2019-05-11 03:18:04 +02:00
|
|
|
cp git-remote-keybase $TERMUX_PREFIX/bin/git-remote-keybase
|
|
|
|
cp kbfsfusebin $TERMUX_PREFIX/bin/kbfsfuse
|
2018-09-02 08:46:37 +02:00
|
|
|
}
|