cd3cd5b5e1
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
20 lines
753 B
Bash
20 lines
753 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/dalance/procs
|
|
TERMUX_PKG_DESCRIPTION="A modern replacement for ps"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=0.12.1
|
|
TERMUX_PKG_SRCURL=https://github.com/dalance/procs/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=ce84e98dd85cb8d5afda871ad2ddceb4faec077d9e019469aa668a75821e4fc2
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
|
|
# This package contains makefiles to run the tests. So, we need to override build steps.
|
|
termux_step_make() {
|
|
termux_setup_rust
|
|
cargo build --jobs $TERMUX_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
install -Dm700 -t $TERMUX_PREFIX/bin target/${CARGO_TARGET_NAME}/release/procs
|
|
}
|