summaryrefslogtreecommitdiff
path: root/community/cpulimit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cpulimit/PKGBUILD')
-rw-r--r--community/cpulimit/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/community/cpulimit/PKGBUILD b/community/cpulimit/PKGBUILD
new file mode 100644
index 000000000..a8973bb03
--- /dev/null
+++ b/community/cpulimit/PKGBUILD
@@ -0,0 +1,21 @@
+# $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=20120918
+pkgrel=1
+pkgdesc="Limit cpu usage in %. Actualy sends SIGSTOP/SIGCONT"
+arch=('i686' 'x86_64')
+url="http://cpulimit.sourceforge.net/"
+license=("GPL")
+depends=()
+source=("$pkgname-$pkgver.tar.gz::https://github.com/opsengine/cpulimit/tarball/master")
+md5sums=('a80b8ec21b668d1c15a29ab1f795d1ba')
+
+build() {
+ cd $srcdir/opsengine-cpulimit-*
+ make
+ install -Dm0755 src/cpulimit $pkgdir/usr/bin/cpulimit
+ install -Dm0644 README $pkgdir/usr/share/doc/$pkgname/README
+}