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"
|
2022-02-28 05:51:31 +01:00
|
|
|
TERMUX_PKG_VERSION=5.9.3
|
2018-09-02 08:46:37 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/keybase/client/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2022-02-28 05:51:31 +01:00
|
|
|
TERMUX_PKG_SHA256=6cc978eb0cb393dbc62623652283dde73c8eb6082bfbfe615177dd27c3f6755d
|
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"
|
2022-02-28 05:51:31 +01:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
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
|
2022-02-28 05:51:31 +01:00
|
|
|
cd go
|
|
|
|
go mod init || :
|
|
|
|
go mod tidy
|
|
|
|
mkdir .bin
|
|
|
|
go build -v -tags 'production' -o ./.bin/keybase ./keybase
|
|
|
|
go build -v -tags 'production' -o ./.bin/git-remote-keybase \
|
|
|
|
./kbfs/kbfsgit/git-remote-keybase
|
|
|
|
go build -v -tags 'production' -o ./.bin/kbfsfuse ./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() {
|
2022-02-28 05:51:31 +01:00
|
|
|
install -Dm700 -t $TERMUX_PREFIX/bin \
|
|
|
|
./go/.bin/{keybase,git-remote-keybase,kbfsfuse}
|
2018-09-02 08:46:37 +02:00
|
|
|
}
|