mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-21 08:52:40 +00:00
- Since it is now hosted on Codeberg, auto-update defaults to repology method. Thus, TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag" configuration is no longer required. %ci:no-build Signed-off-by: Aditya Alok <alok@termux.dev>
22 lines
998 B
Bash
22 lines
998 B
Bash
TERMUX_PKG_HOMEPAGE=https://smxi.org/site/about.htm#inxi
|
|
TERMUX_PKG_DESCRIPTION="Full featured CLI system information tool"
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="3.3.39-1"
|
|
TERMUX_PKG_SRCURL=https://codeberg.org/smxi/inxi/archive/${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=c0441f21dc5ea365a6d63466070d00e6858aed3b3c42276a1bf18ab3c57c013c
|
|
# NOTE: auto-update first checks whether the latest version matches this regex and then
|
|
# replaces the last `.` with '-'. Thus, it shouldn't update to wrong version.
|
|
TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+\.\d+(-|\.)\d+"
|
|
# Sometimes repology returns ds.ds.ds.ds instead of ds.ds.ds-ds, fix that:
|
|
TERMUX_PKG_UPDATE_VERSION_SED_REGEXP="s/\.([0-9]+)$/-\1/"
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_DEPENDS="perl"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
|
|
|
termux_step_make_install() {
|
|
install -Dm700 -t "$TERMUX_PREFIX/bin/" inxi
|
|
install -Dm600 -t "$TERMUX_PREFIX/share/man/man1/" inxi.1
|
|
}
|