summaryrefslogtreecommitdiff
path: root/community/cpulimit/PKGBUILD
blob: 2dc83fac18dc8658166dd169aad14b8f2ff795e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id: PKGBUILD 76442 2012-09-18 16:13:31Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=cpulimit
pkgver=20120918
pkgrel=1
pkgdesc="Limit cpu usage in %. Actualy sends SIGSTOP/SIGCONT"
arch=('i686' 'x86_64' 'mips64el')
url="http://cpulimit.sourceforge.net/"
license=("GPL")
depends=()
source=("$pkgname-$pkgver.tar.gz::https://github.com/opsengine/cpulimit/tarball/master")
md5sums=('a80b8ec21b668d1c15a29ab1f795d1ba')

build() {
  cd $srcdir/opsengine-cpulimit-*
  make
  install -Dm0755 src/cpulimit $pkgdir/usr/bin/cpulimit
  install -Dm0644 README $pkgdir/usr/share/doc/$pkgname/README
}