vtm: Specify TERMUX_PKG_LICENSE_FILE

instead of using custom `termux_step_install_license` function.

%ci:no-build
This commit is contained in:
Tee KOBAYASHI 2022-04-24 00:10:43 +09:00
parent 693ffa5426
commit dfb4de296e

View File

@ -1,6 +1,7 @@
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_LICENSE_FILE="../LICENSE"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.7.1"
TERMUX_PKG_SRCURL=https://github.com/netxs-group/vtm/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
@ -14,8 +15,3 @@ termux_step_pre_configure() {
CXXFLAGS+=" -pthread"
LDFLAGS+=" -landroid-spawn"
}
termux_step_install_license() {
install -Dm600 -t $TERMUX_PREFIX/share/doc/vtm \
$TERMUX_PKG_SRCDIR/../LICENSE
}