summaryrefslogtreecommitdiff
path: root/community/cpulimit/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-21 11:26:12 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-21 11:26:12 -0300
commitc0bcbcf4015ba2388cb0f0bd418e5242f9613b43 (patch)
tree8e4f525a74e1ec4d373256b380f7d49305ed5d00 /community/cpulimit/PKGBUILD
parenta05bf04c686ff44fc6c12fbe774d65032b74c55d (diff)
parent11484c032f8c236b2044e715a9a3b28e33f65598 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/6tunnel/PKGBUILD community/chrootuid/PKGBUILD community/cpulimit/PKGBUILD community/cutter/PKGBUILD community/darkhttpd/PKGBUILD community/darkstat/PKGBUILD community/datemath/PKGBUILD community/delegate/PKGBUILD community/dfm/PKGBUILD community/freedroid/PKGBUILD community/parano/PKGBUILD community/pyvorbis/PKGBUILD community/scrotwm/PKGBUILD extra/antlr2/PKGBUILD extra/live-media/PKGBUILD extra/mono-zeroconf/PKGBUILD extra/vlc/PKGBUILD
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
}