termux-packages/packages/cpulimit/build.sh

12 lines
442 B
Bash
Raw Normal View History

2020-11-14 13:46:06 +01:00
TERMUX_PKG_HOMEPAGE=https://github.com/opsengine/cpulimit
TERMUX_PKG_DESCRIPTION="CPU usage limiter"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=0.2
TERMUX_PKG_SRCURL=https://github.com/opsengine/cpulimit/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=64312f9ac569ddcadb615593cd002c94b76e93a0d4625d3ce1abb49e08e2c2da
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make_install() {
install -Dm700 -t $TERMUX_PREFIX/bin src/cpulimit
}