NNN = kernel number e.g. 419, 56, 57 etc.
Hope this doesn't break my install but:
1 do the makepkg -si
2 In the directory do sudo pacman -U r8125-dkms-9.003.05-0-x86_64.pkg.tar.zst
This works:
sudo pacman -U r8125-dkms-9.003.05-0-x86_64.pkg.tar.zst
Alias tip: _ pacman -U r8125-dkms-9.003.05-0-x86_64.pkg.tar.zst
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) r8125-dkms-9.003.05-0
Total Installed Size: 1.56 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [----------------------------------------] 100%
(1/1) checking package integrity [----------------------------------------] 100%
(1/1) loading package files [----------------------------------------] 100%
(1/1) checking for file conflicts [----------------------------------------] 100%
:: Processing package changes...
(1/1) installing r8125-dkms [----------------------------------------] 100%
Optional dependencies for r8125-dkms
linux-headers: Build the module for Arch kernel [installed]
linux-lts-headers: Build the module for LTS Arch kernel
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> dkms install --no-depmod -m r8125 -v 9.003.05 -k 5.7.8-5-MANJARO
==> dkms install --no-depmod -m r8125 -v 9.003.05 -k 4.19.132-1-MANJARO
Error! Build of r8125.ko failed for: 4.19.132-1-MANJARO (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/r8125/9.003.05/build/ for more information.
==> Warning, `dkms install --no-depmod -m r8125 -v 9.003.05 -k 4.19.132-1-MANJARO' returned 7
==> dkms install --no-depmod -m r8125 -v 9.003.05 -k 5.4.51-1-MANJARO
==> depmod 5.7.8-5-MANJARO
==> depmod 5.4.51-1-MANJARO
==> depmod 4.19.132-1-MANJARO
Now I have to remove it