termux-packages/packages/vtm/build.sh

22 lines
744 B
Bash

TERMUX_PKG_HOMEPAGE=https://vtm.netxs.online/
TERMUX_PKG_DESCRIPTION="Terminal multiplexer with TUI window manager and multi-party session sharing"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.6.0
TERMUX_PKG_SRCURL=https://github.com/netxs-group/vtm/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=b572a7f7f4b1271faf6dac5c0f91505b878eee1cfcbcca4a9323b97e9325e16b
TERMUX_PKG_DEPENDS="libandroid-spawn, libc++"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_AUTO_UPDATE=true
termux_step_pre_configure() {
TERMUX_PKG_SRCDIR+=/src
CXXFLAGS+=" -pthread"
LDFLAGS+=" -landroid-spawn"
}
termux_step_install_license() {
install -Dm600 -t $TERMUX_PREFIX/share/doc/vtm \
$TERMUX_PKG_SRCDIR/../LICENSE
}