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

pkgname=cpulimit
pkgver=1.1
pkgrel=2
pkgdesc="Limit cpu usage in %. Actualy sends SIGSTOP/SIGCONT"
arch=('i686' 'x86_64' 'mips64el')
url="http://cpulimit.sourceforge.net/"
license=("GPL")
depends=(glibc)
source=("http://downloads.sourceforge.net/sourceforge/cpulimit/cpulimit-$pkgver.tar.gz")
md5sums=('f4ff6d4bfaef1258e8f5cd2041e2e2a3')

build() {
  cd $startdir/src/$pkgname-$pkgver
  make
  install -D -m0755 cpulimit $startdir/pkg/usr/bin/cpulimit
}