blob: d4c4e9760499c86089c7c50f01f65e50116c0738 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Felipe Alfonso Gonzalez <f.alfonso@res-ear.ch>
pkgname=opticpu
pkgver=0.0.8
pkgrel=1
pkgdesc="A utility for optimizing CPU usage and enhancing system performance on Linux."
arch=('x86_64')
url="https://github.com/felipealfonsog/OptiCPU"
license=('BSD 3-clause')
depends=('gcc' 'glibc' 'libutil-linux' 'coreutils' 'sysstat' 'cpupower')
source=("https://github.com/felipealfonsog/OptiCPU/archive/refs/tags/v${pkgver}.tar.gz")
build() {
tar xf "v${pkgver}.tar.gz" -C "$srcdir" --strip-components=1
cd "$srcdir"
gcc -o opticpu src/opticpu.c
}
package() {
cd "$srcdir"
install -Dm755 opticpu "$pkgdir/usr/bin/opticpu"
}
sha256sums=('e184981e02851bd4784b330f6df49385921d2c790b57af1f2f56d25f689e0dc4')
|