new package: libimtui

This commit is contained in:
Tee KOBAYASHI 2022-02-15 01:00:23 +09:00 committed by xtkoba
parent a3b7371dc1
commit da73e893db
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,15 @@
TERMUX_PKG_HOMEPAGE=https://github.com/ggerganov/imtui
TERMUX_PKG_DESCRIPTION="An immediate mode text-based user interface library"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_LICENSE_FILE="LICENSE, third-party/imgui/imgui/LICENSE.txt"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.0.5
TERMUX_PKG_SRCURL=https://github.com/ggerganov/imtui.git
TERMUX_PKG_DEPENDS="libc++, ncurses"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DBUILD_SHARED_LIBS=ON
"
termux_step_post_make_install() {
install -Dm700 -t $TERMUX_PREFIX/bin bin/hnterm
}

View File

@ -0,0 +1,3 @@
TERMUX_SUBPKG_DESCRIPTION="A simple tool to browse Hacker News in the terminal"
TERMUX_SUBPKG_DEPENDS="libcurl"
TERMUX_SUBPKG_INCLUDE="bin/hnterm"