summaryrefslogtreecommitdiff
path: root/community/cpulimit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cpulimit/PKGBUILD')
-rw-r--r--community/cpulimit/PKGBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/community/cpulimit/PKGBUILD b/community/cpulimit/PKGBUILD
index bd8d6a085..510eab2f6 100644
--- a/community/cpulimit/PKGBUILD
+++ b/community/cpulimit/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 17379 2010-05-24 09:44:15Z spupykin $
+# $Id: PKGBUILD 65094 2012-02-20 03:37:27Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=cpulimit
pkgver=1.1
-pkgrel=2.1
+pkgrel=3
pkgdesc="Limit cpu usage in %. Actualy sends SIGSTOP/SIGCONT"
arch=('i686' 'x86_64' 'mips64el')
url="http://cpulimit.sourceforge.net/"
@@ -14,9 +14,7 @@ source=("http://downloads.sourceforge.net/sourceforge/cpulimit/cpulimit-$pkgver.
md5sums=('f4ff6d4bfaef1258e8f5cd2041e2e2a3')
build() {
- cd $startdir/src/$pkgname-$pkgver
- # The included trivial Makefile ignores CFLAGS and LDFLAGS, so
- # running the compiler manually here.
- ${CC:-gcc} ${LDFLAGS} ${CFLAGS} -o cpulimit cpulimit.c -lrt
- install -D -m0755 cpulimit $startdir/pkg/usr/bin/cpulimit
+ cd $srcdir/$pkgname-$pkgver
+ make
+ install -D -m0755 cpulimit $pkgdir/usr/bin/cpulimit
}