MatMoul / g810-led

Linux led controller for Logitech G213, G410, G413, G512, G513, G610, G810, g815, G910 and GPRO Keyboards
GNU General Public License v3.0
1.39k stars 184 forks source link

error: packages failed to build: g810-led-git-0.4.2-2 #285

Closed Siiire closed 2 years ago

Siiire commented 2 years ago

Getting this error on arch, been a few days now. Is there anything I can do to help, like paste certain logs/system info? I have no knowledge when it comes to software development.

Shyrak commented 2 years ago

Another Arch user here. Seems to be a typo in the git URL on the PKGBUILD. Using yay you can edit it before installing with the following command (I'm sure other AUR managers will have something similar):

yay --editmenu -S g810-led-git 

Once you get the editor up, line 20:

source=("git+https://github.com/MatMoul/${_appname}.git") 

Should be like this:

source=("git://github.com/MatMoul/${_appname}.git")

Hope this helps!

Siiire commented 2 years ago

Another Arch user here. Seems to be a typo in the git URL on the PKGBUILD. Using yay you can edit it before installing with the following command (I'm sure other AUR managers will have something similar):

yay --editmenu -S g810-led-git 

Once you get the editor up, line 20:

source=("git+https://github.com/MatMoul/${_appname}.git") 

Should be like this:

source=("git://github.com/MatMoul/${_appname}.git")

Hope this helps!

Thank you for your reply! I tried your solution, replacing yay with paru, it didn't work. I tried to look for a similar command using paru -h but I couldn't find anything.

Shyrak commented 2 years ago

I'm not familiar with paru, but seems to offer package review as a default. When installing the package, a prompt to "Proceed to review?" should appear (at least from I can gather from the video at their github). There you might be able to edit the PKGBUILD file and try the changes I suggested.

I'm sorry I can't be of much help at this point, but I've never used paru, so I can't give you a more detailed explanation. Other alternative would be to go to the manual route described here.

Edit: Formatting