termux-packages/packages/et/build.sh
Aditya Alok 306c1deaf8
fix: rename TERMUX_PKG_AUTO_UPDATE_TAG_REGEXP to TERMUX_PKG_UPDATE_VERSION_REGEXP
why? since we get versions not tag when updating from repology

%ci:no-build

Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-04-01 13:16:01 +05:30

21 lines
796 B
Bash

TERMUX_PKG_HOMEPAGE=https://eternalterminal.dev
TERMUX_PKG_DESCRIPTION="A remote shell that automatically reconnects without interrupting the session"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+\.\d+"
TERMUX_PKG_VERSION=6.1.11
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/MisterTea/EternalTerminal/archive/et-v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=bff58ae9122a39a7012e741d2d514b0966725c942021f3279fa7e2b00cfd20a3
TERMUX_PKG_DEPENDS="libc++, protobuf, libsodium, openssl"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DDISABLE_VCPKG=1"
termux_step_pre_configure() {
termux_setup_protobuf
}
termux_step_post_make_install() {
install -Dm600 $TERMUX_PKG_SRCDIR/etc/et.cfg $TERMUX_PREFIX/etc/
}