summaryrefslogtreecommitdiff
path: root/community/cpulimit/PKGBUILD
blob: 7ef5ab1460171c34711ba76bfda09cbc37c22c00 (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')
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
}