Package Details: ryzenadj-git 0.5.2.r2.g82afad3-2

Git Clone URL: https://aur.archlinux.org/ryzenadj-git.git (read-only, click to copy)
Package Base: ryzenadj-git
Description: RyzenAdj tool for adjusting Ryzen Mobile power states
Upstream URL: https://github.com/FlyGoat/RyzenAdj
Keywords: amd clock clocks cpu ryzen tool
Licenses: LGPL3
Conflicts: ryzenadj
Provides: ryzenadj
Submitter: dtubber
Maintainer: dtubber
Last Packager: dtubber
Votes: 5
Popularity: 0.86
First Submitted: 2019-02-12 16:33
Last Updated: 2019-10-21 09:23

Dependencies (3)

Required by (1)

Sources (1)

Pinned Comments

dtubber commented on 2019-10-21 09:20

Alright people, after having to take some personal time off, i finally fixed and simplified the PKGBUILD. Thank you all for your helpful tips.

Latest Comments

Ritte commented on 2020-09-08 15:18

To the person who flagged this out of date, this one actually installs the current version. My installed version matches the upstream.

Maybe pkgver can be scripted to reflect this?

dtubber commented on 2019-10-21 09:20

Alright people, after having to take some personal time off, i finally fixed and simplified the PKGBUILD. Thank you all for your helpful tips.

ohm2 commented on 2019-08-16 14:47

my build process is being stopped by:

cp: cannot stat 'ryzenadj': No such file or directory ==> ERROR: A failure occurred in package(). Aborting...

What can I do about this?

ok, this change did the trick: package() { install -Dpm 0755 -t "${pkgdir}/usr/bin""${pkgname}/build/ryzenadj" }

yochananmarqos commented on 2019-07-15 21:30

Please see the pkgver() function of the VCS package guidelines. It should be 0.5.2.r0.gf7a8993:

pkgver() {
    cd "$pkgname"
    git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' 
}

Proper PKGBUILD.

wahsot commented on 2019-06-09 05:16

I just found out about this tool, hours gone by testing different numbers. You can simplify (and fixup) the package() function to:

package() { install -Dpm 0755 -t "${pkgdir}/usr/bin" "${pkgname}/build/ryzenadj" }

Trollwut commented on 2019-06-08 18:51

Builds fine, but can't copy the binary. This is the log (file paths are not correct):

==> Entering fakeroot environment...
==> Starting package()...
/home/trollwut/.cache/yay/ryzenadj-git/src/ryzenadj-git
total 84
drwxr-xr-x 7 root root  4096 Jun  8 20:49 .
drwxr-xr-x 3 root root  4096 Jun  8 20:49 ..
-rw-r--r-- 1 root root 10124 Jun  8 20:49 argparse.c
-rw-r--r-- 1 root root  3419 Jun  8 20:49 argparse.h
drwxr-xr-x 3 root root  4096 Jun  8 20:49 build
-rw-r--r-- 1 root root   978 Jun  8 20:49 CMakeLists.txt
drwxr-xr-x 8 root root  4096 Jun  8 20:49 .git
-rw-r--r-- 1 root root  5856 Jun  8 20:49 .gitignore
drwxr-xr-x 2 root root  4096 Jun  8 20:49 lib
-rw-r--r-- 1 root root  7652 Jun  8 20:49 LICENSE
-rw-r--r-- 1 root root  4279 Jun  8 20:49 main.c
drwxr-xr-x 2 root root  4096 Jun  8 20:49 prebuilt
-rw-r--r-- 1 root root  3671 Jun  8 20:49 README.md
drwxr-xr-x 4 root root  4096 Jun  8 20:49 RyzenAdjUI_WPF
-rw-r--r-- 1 root root   219 Jun  8 20:49 travis-win.bat
-rw-r--r-- 1 root root  1900 Jun  8 20:49 .travis.yml
cp: cannot stat 'ryzenadj': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

danielfm123 commented on 2019-04-18 15:35

once installed i get different version

==> Do you want to remove ALL AUR packages from cache? [Y/n] y removing AUR packages from cache... [dfischer@Dell7375 ~]$ yay -S ryzenadj-git
:: Checking for conflicts... :: Checking for inner conflicts... [Aur: 1] ryzenadj-git-v0.2.r3.g68bf3a1-3

:: Downloaded PKGBUILD (1/1): ryzenadj-git 1 ryzenadj-git (Build Files Exist) ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==> Diffs to show? ==> :: Parsing SRCINFO (1/1): ryzenadj-git ==> Making package: ryzenadj-git v0.2.r3.g68bf3a1-3 (jue 18 abr 2019 11:35:03 EDT) ==> Retrieving sources... -> Cloning ryzenadj-git git repo... Cloning into bare repository '/home/dfischer/.cache/yay/ryzenadj-git/ryzenadj-git'... remote: Enumerating objects: 156, done. remote: Counting objects: 100% (156/156), done. remote: Compressing objects: 100% (87/87), done. remote: Total 156 (delta 80), reused 143 (delta 67), pack-reused 0 Receiving objects: 100% (156/156), 100.10 KiB | 595.00 KiB/s, done. Resolving deltas: 100% (80/80), done. ==> Validating source files with md5sums... ryzenadj-git ... Skipped ==> Cleaning up... ==> Making package: ryzenadj-git v0.2.r3.g68bf3a1-3 (jue 18 abr 2019 11:35:06 EDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating ryzenadj-git git repo... Fetching origin ==> Validating source files with md5sums... ryzenadj-git ... Skipped ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of ryzenadj-git git repo... Cloning into 'ryzenadj-git'... done. ==> Starting pkgver()... ==> Updated version: ryzenadj-git gui.v0.2.1-1