summaryrefslogtreecommitdiff
path: root/community/cpulimit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cpulimit/PKGBUILD')
-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
}