aboutsummaryrefslogtreecommitdiffstats
path: root/main/cpulimit/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/cpulimit/APKBUILD')
-rw-r--r--main/cpulimit/APKBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/main/cpulimit/APKBUILD b/main/cpulimit/APKBUILD
index cb4f3f1325..0973fd3881 100644
--- a/main/cpulimit/APKBUILD
+++ b/main/cpulimit/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cpulimit
-pkgver=0.0.2014.03.09
+pkgver=0.2
pkgrel=0
pkgdesc="CPU usage limiter for Linux"
url="https://github.com/opsengine/cpulimit"
@@ -11,11 +11,12 @@ depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
-source="http://dev.alpinelinux.org/archive/cpulimit/cpulimit-$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/opsengine/cpulimit/archive/v$pkgver.tar.gz
no-sysctl.patch
"
-_builddir="$srcdir"/cpulimit
+_builddir="$srcdir"/cpulimit-$pkgver
+
prepare() {
local i
cd "$_builddir"
@@ -36,9 +37,9 @@ package() {
install -Dm755 src/cpulimit "$pkgdir"/usr/bin/cpulimit
}
-md5sums="75b21785a1bbe63bf3f745eec3b4e1de cpulimit-0.0.2014.03.09.tar.gz
+md5sums="ac86cd54173251223fb89b14a73ae37c cpulimit-0.2.tar.gz
3190926c02130090757376f0b4f2b73d no-sysctl.patch"
-sha256sums="5eb2998f88dd61291085744a1b936aa18ae6c656c9ce8574bb43c863b8157d6f cpulimit-0.0.2014.03.09.tar.gz
+sha256sums="64312f9ac569ddcadb615593cd002c94b76e93a0d4625d3ce1abb49e08e2c2da cpulimit-0.2.tar.gz
9b4118a5a77d2884ea38d657bac6dcf54232e990537c1fb73fbb4a852423d508 no-sysctl.patch"
-sha512sums="59f795fb76416b83f64b74a39f6c646bab49086a533af37d0eeaf2aeca9abc3d158d70e978d08595376199b9936cbcada287f9df954423d04bf95fbfbac35085 cpulimit-0.0.2014.03.09.tar.gz
+sha512sums="73c973f3b86cdc225054c742ddb205ce0378817695531e3e8e45053c50d2d9762f3a15adbfffc8fc2b91f96ce9c9dbf8a9ad4e7ce4cf214f349859b298683b47 cpulimit-0.2.tar.gz
13ddc48d810bdc28131babb653a06bd8ec25c6108fdbd34f2901c977d6fa6102d5e9c142e5a357711304272c97c2adb7fbf17164f0efdf4b4433ad271af9d09b no-sysctl.patch"