proton-bridge: fix build with the golang version we are using

This commit is contained in:
Henrik Grimler 2021-10-10 17:05:59 +02:00
parent 836f5355ff
commit da8eef10c2
1 changed files with 2 additions and 0 deletions

View File

@ -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
}