mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-04 18:45:52 +00:00
cdf2b852c0
This commit has been automatically submitted by Github Actions.
27 lines
921 B
Bash
27 lines
921 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/ProtonMail/proton-bridge
|
|
TERMUX_PKG_DESCRIPTION="ProtonMail Bridge application"
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
|
TERMUX_PKG_VERSION="3.15.0"
|
|
TERMUX_PKG_SRCURL=git+https://github.com/ProtonMail/proton-bridge
|
|
TERMUX_PKG_GIT_BRANCH=v${TERMUX_PKG_VERSION}
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_DEPENDS=libsecret
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_UPDATE_TAG_TYPE=latest-release-tag
|
|
TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+\.\d+"
|
|
# The go-rfc5322 module cannot currently be compiled for 32-bit OSes:
|
|
# https://github.com/ProtonMail/proton-bridge/blob/v2.1.1/BUILDS.md#prerequisites
|
|
TERMUX_PKG_BLACKLISTED_ARCHES="arm, i686"
|
|
|
|
termux_step_make() {
|
|
termux_setup_golang
|
|
export GOPATH="${TERMUX_PKG_BUILDDIR}"
|
|
cd "${TERMUX_PKG_SRCDIR}" || exit 1
|
|
|
|
make build-nogui
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
install -Dm700 "${TERMUX_PKG_SRCDIR}"/bridge "${TERMUX_PREFIX}"/bin/proton-bridge
|
|
}
|