blob: bb6f93ca01819b362036a61e4d05acd8f433dc1f (
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
27
28
29
30
31
32
33
34
|
# Maintainer: Daniel "dtubber" Wanner <daniel.wanner@tubber.xyz>
pkgname="ryzenadj-git"
pkgver=gui.v0.2.1.r2.g4656930
pkgrel=4
pkgdesc="RyzenAdj tool for adjusting Ryzen Mobile power states"
url="https://github.com/FlyGoat/RyzenAdj"
arch=("x86_64")
depends=("pciutils")
makedepends=("cmake")
license=("LGPL2")
source=("$pkgname::git+https://github.com/FlyGoat/RyzenAdj")
md5sums=("SKIP")
pkgver() {
cd $pkgname
git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $pkgname
mkdir build || true
cd build
cmake ..
make || true
}
package() {
mkdir -p $pkgdir/usr/bin || true
cd $pkgname
pwd
ls -la
cp ryzenadj $pkgdir/usr/bin/
}
|