diff options
Diffstat (limited to 'community/cpulimit/PKGBUILD')
-rw-r--r-- | community/cpulimit/PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/community/cpulimit/PKGBUILD b/community/cpulimit/PKGBUILD index 6cebcda00..bd8d6a085 100644 --- a/community/cpulimit/PKGBUILD +++ b/community/cpulimit/PKGBUILD @@ -4,7 +4,7 @@ pkgname=cpulimit pkgver=1.1 -pkgrel=2 +pkgrel=2.1 pkgdesc="Limit cpu usage in %. Actualy sends SIGSTOP/SIGCONT" arch=('i686' 'x86_64' 'mips64el') url="http://cpulimit.sourceforge.net/" @@ -15,6 +15,8 @@ md5sums=('f4ff6d4bfaef1258e8f5cd2041e2e2a3') build() { cd $startdir/src/$pkgname-$pkgver - make + # 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 } |