2018-09-07 06:49:38 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://keybase.io/docs/kbfs
|
|
|
|
TERMUX_PKG_DESCRIPTION="Keybase Filesystem"
|
2018-11-27 00:21:46 +01:00
|
|
|
TERMUX_PKG_VERSION=2.10.1
|
|
|
|
TERMUX_PKG_SHA256=9ad8e86378ad6b70909754d401d8ecacc128092ff687b7a56f5f1ecd5c8cb432
|
2018-09-17 19:14:25 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/keybase/kbfs/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2018-10-08 22:25:25 +02:00
|
|
|
TERMUX_PKG_DEPENDS="keybase"
|
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/kbfs
|
|
|
|
export GOPATH="$PWD/.gopath"
|
|
|
|
|
2018-09-06 20:12:33 +02:00
|
|
|
go build -v -tags 'production' -o git-remote-keybase github.com/keybase/kbfs/kbfsgit/git-remote-keybase
|
|
|
|
go build -v -tags 'production' -o kbfsfusebin github.com/keybase/kbfs/kbfsfuse
|
2018-09-02 08:46:37 +02:00
|
|
|
|
|
|
|
cp git-remote-keybase $TERMUX_PREFIX/bin/git-remote-keybase
|
2018-09-06 20:12:33 +02:00
|
|
|
cp kbfsfusebin $TERMUX_PREFIX/bin/kbfsfuse
|
2018-09-02 08:46:37 +02:00
|
|
|
}
|