Files
termux-packages/packages/procs/build.sh
termux-pacman-bot 2286fd42f6 bump(main/procs): 0.14.3
This commit has been automatically submitted by Github Actions.
2023-10-20 06:32:10 +00:00

20 lines
755 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.14.3"
TERMUX_PKG_SRCURL=https://github.com/dalance/procs/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=a3012bba984faddcf8da2a72d21eb9a7e9be8d5d86a387d321987743b0080a8c
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
}