proton-bridge: fix build with the golang version we are using
This commit is contained in:
parent
836f5355ff
commit
da8eef10c2
@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://github.com/ProtonMail/proton-bridge
|
||||
TERMUX_PKG_DESCRIPTION="ProtonMail Bridge application"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_VERSION=1.5.7
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL=https://github.com/ProtonMail/proton-bridge.git
|
||||
TERMUX_PKG_GIT_BRANCH=br-$TERMUX_PKG_VERSION
|
||||
TERMUX_PKG_MAINTAINER="Radomír Polách <rp@t4d.cz>"
|
||||
@ -12,6 +13,7 @@ termux_step_make_install() {
|
||||
export GOPATH=$TERMUX_PKG_BUILDDIR
|
||||
export BUILDDIR=$TERMUX_PREFIX/bin
|
||||
cd $TERMUX_PKG_SRCDIR
|
||||
go mod tidy
|
||||
make build-nogui
|
||||
install -Dm700 proton-bridge "$TERMUX_PREFIX"/bin/proton-bridge
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user