### this file is sourced not run
PKGVER=0.2
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=cpulimit-$PKGVER.tar.gz
MD5SUM=ac86cd54173251223fb89b14a73ae37c
SRC_URL=https://github.com/opsengine/cpulimit/archive/v$PKGVER.tar.gz
BUNDLE=

SLACKREQ=
SLACKDESC="cpulimit: cpulimit $PKGVER (Limit CPU usage of a process)
cpulimit: 
cpulimit: Cpulimit is a tool which limits the CPU usage of a process (expressed 
cpulimit: in percentage). The goal is to prevent a process from running for 
cpulimit: more than a specified time ratio. It also helps to reduce CPU 
cpulimit: overheating. Control is done sending SIGSTOP and SIGCONT POSIX 
cpulimit: signals to processes. All the children processes and threads of the 
cpulimit: specified process will share the same percentage of CPU.
cpulimit: 
cpulimit: https://github.com/opsengine/cpulimit
cpulimit: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/cpulimit*/src
	make &&
	install -m755 cpulimit /usr/bin &&
	pkg_build_slackdesc
}
