new package: inxi

Requested in https://github.com/termux/termux-packages/issues/5802
This commit is contained in:
Leonid Pliushch 2020-09-14 14:17:44 +03:00
parent 95d0149704
commit cbb9e721ed

13
packages/inxi/build.sh Normal file
View File

@ -0,0 +1,13 @@
TERMUX_PKG_HOMEPAGE=https://github.com/smxi/inxi
TERMUX_PKG_DESCRIPTION="Full featured CLI system information tool"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_VERSION=3.1.06-1
TERMUX_PKG_SRCURL=https://github.com/smxi/inxi/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=e1fa3566353df7819134cb8edd8d5b8244991a0f66c51e52661c7b0594909813
TERMUX_PKG_DEPENDS="perl"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make_install() {
install -Dm700 -t $TERMUX_PREFIX/bin/ inxi
install -Dm600 -t $TERMUX_PREFIX/share/man/man1/ inxi.1
}