termux-packages/packages/inxi/build.sh

14 lines
528 B
Bash

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.09-1
TERMUX_PKG_SRCURL=https://github.com/smxi/inxi/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=2212ad21238b60238b00c8826e2659f4283198c154ebcf24f0d5174fffcd6949
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
}