new package: libimtui
This commit is contained in:
parent
a3b7371dc1
commit
da73e893db
15
packages/libimtui/build.sh
Normal file
15
packages/libimtui/build.sh
Normal 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
|
||||
}
|
3
packages/libimtui/hnterm.subpackage.sh
Normal file
3
packages/libimtui/hnterm.subpackage.sh
Normal 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"
|
Loading…
Reference in New Issue
Block a user