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-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-10-26 21:33:50 +02:00
|
|
|
TERMUX_PKG_VERSION=5.8.1
|
2018-09-02 08:46:37 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/keybase/client/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2021-10-26 21:33:50 +02:00
|
|
|
TERMUX_PKG_SHA256=25539ff5b3bad939c9a481ccae89913c1d14aab7f2ac9756a4c231b01ce3fc61
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2019-05-11 03:18:04 +02:00
|
|
|
TERMUX_PKG_REPLACES="kbfs"
|
|
|
|
TERMUX_PKG_CONFLICTS="kbfs"
|
2018-09-02 08:46:37 +02:00
|
|
|
|
2021-10-26 21:33:50 +02:00
|
|
|
termux_step_make() {
|
2018-09-02 08:46:37 +02:00
|
|
|
termux_setup_golang
|
|
|
|
|
2021-10-26 21:33:50 +02:00
|
|
|
cd $TERMUX_PKG_SRCDIR
|
|
|
|
|
2018-09-02 08:46:37 +02:00
|
|
|
mkdir -p .gopath/src/github.com/keybase
|
|
|
|
ln -sf "$PWD" .gopath/src/github.com/keybase/client
|
|
|
|
export GOPATH="$PWD/.gopath"
|
|
|
|
|
2021-10-26 21:33:50 +02:00
|
|
|
# https://github.com/keybase/client/issues/24479#issuecomment-803013019
|
|
|
|
go env -w GO111MODULE=auto
|
|
|
|
|
2018-09-02 08:46:37 +02:00
|
|
|
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
|
2021-10-26 21:33:50 +02:00
|
|
|
}
|
2018-09-02 08:46:37 +02:00
|
|
|
|
2021-10-26 21:33:50 +02:00
|
|
|
termux_step_make_install() {
|
|
|
|
cp $TERMUX_PKG_SRCDIR/keybase $TERMUX_PREFIX/bin/keybase
|
|
|
|
cp $TERMUX_PKG_SRCDIR/git-remote-keybase $TERMUX_PREFIX/bin/git-remote-keybase
|
|
|
|
cp $TERMUX_PKG_SRCDIR/kbfsfusebin $TERMUX_PREFIX/bin/kbfsfuse
|
2018-09-02 08:46:37 +02:00
|
|
|
}
|