summaryrefslogtreecommitdiff
path: root/community/cpulimit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-19 01:27:07 -0700
committerroot <root@rshg054.dnsready.net>2012-09-19 01:27:07 -0700
commit3e9f7fe2a26ee7496abdc6e9e4b54c4f5caddcae (patch)
treef46a9b554f74e65e41a6b29012981878a5a0bdea /community/cpulimit
parent0eb0f7dcc1b8f07ad3f0eb5086eafba8f627967d (diff)
Wed Sep 19 01:26:10 PDT 2012
Diffstat (limited to 'community/cpulimit')
-rw-r--r--community/cpulimit/PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/community/cpulimit/PKGBUILD b/community/cpulimit/PKGBUILD
index cb73d72cd..a8973bb03 100644
--- a/community/cpulimit/PKGBUILD
+++ b/community/cpulimit/PKGBUILD
@@ -1,20 +1,21 @@
-# $Id: PKGBUILD 65094 2012-02-20 03:37:27Z spupykin $
+# $Id: PKGBUILD 76442 2012-09-18 16:13:31Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=cpulimit
-pkgver=1.1
-pkgrel=3
+pkgver=20120918
+pkgrel=1
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')
+depends=()
+source=("$pkgname-$pkgver.tar.gz::https://github.com/opsengine/cpulimit/tarball/master")
+md5sums=('a80b8ec21b668d1c15a29ab1f795d1ba')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd $srcdir/opsengine-cpulimit-*
make
- install -D -m0755 cpulimit $pkgdir/usr/bin/cpulimit
+ install -Dm0755 src/cpulimit $pkgdir/usr/bin/cpulimit
+ install -Dm0644 README $pkgdir/usr/share/doc/$pkgname/README
}