[arch-commits] Commit in cpulimit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon May 25 13:11:18 UTC 2020
Date: Monday, May 25, 2020 @ 13:11:18
Author: felixonmars
Revision: 634234
archrelease: copy trunk to community-x86_64
Added:
cpulimit/repos/community-x86_64/PKGBUILD
(from rev 634233, cpulimit/trunk/PKGBUILD)
Deleted:
cpulimit/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 61 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 30 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-25 13:11:05 UTC (rev 634233)
+++ PKGBUILD 2020-05-25 13:11:18 UTC (rev 634234)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=cpulimit
-pkgver=0.2
-pkgrel=1
-epoch=1
-pkgdesc="Limit cpu usage of a process in percentage. Actually sends SIGSTOP/SIGCONT POSIX signals to processes"
-arch=('x86_64')
-url="https://github.com/opsengine/cpulimit"
-license=('GPL')
-depends=('glibc')
-source=($pkgname-$pkgver.tar.gz::https://github.com/opsengine/$pkgname/archive/v$pkgver.tar.gz)
-sha256sums=('64312f9ac569ddcadb615593cd002c94b76e93a0d4625d3ce1abb49e08e2c2da')
-
-prepare() {
- cd $pkgname-$pkgver
- sed -i 's/#ifdef __APPLE__ || __FREEBSD__/#if defined(__APPLE__) || defined(__FREEBSD__)/' \
- src/cpulimit.c tests/process_iterator_test.c
-}
-
-build() {
- cd $pkgname-$pkgver
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- install -Dm755 src/cpulimit "$pkgdir/usr/bin/cpulimit"
-}
Copied: cpulimit/repos/community-x86_64/PKGBUILD (from rev 634233, cpulimit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-25 13:11:18 UTC (rev 634234)
@@ -0,0 +1,30 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=cpulimit
+pkgver=0.2
+pkgrel=2
+epoch=1
+pkgdesc="Limit cpu usage of a process in percentage. Actually sends SIGSTOP/SIGCONT POSIX signals to processes"
+arch=('x86_64')
+url="https://github.com/opsengine/cpulimit"
+license=('GPL')
+depends=('glibc')
+source=($pkgname-$pkgver.tar.gz::https://github.com/opsengine/$pkgname/archive/v$pkgver.tar.gz)
+sha256sums=('64312f9ac569ddcadb615593cd002c94b76e93a0d4625d3ce1abb49e08e2c2da')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's/#ifdef __APPLE__ || __FREEBSD__/#if defined(__APPLE__) || defined(__FREEBSD__)/' \
+ src/cpulimit.c tests/process_iterator_test.c
+}
+
+build() {
+ cd $pkgname-$pkgver
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ install -Dm755 src/cpulimit "$pkgdir/usr/bin/cpulimit"
+}
More information about the arch-commits
mailing list