There’s a few packages that I use that I have created personal patches for. When one of these packages gets updated I need to manually change the PKGBUILD to the new version, SHA, etc. Is there any way to have a local patch applied to a package every time a new version of the package is release?
I think pacman hooks could help you
Could you explain more? Sounds interesting. I thought hooks were only actions applied post install?
I’m not very familiar with them, I mostly just know they exist. https://wiki.archlinux.org/title/Pacman#Hooks has information on them
I also just found this wiki page https://wiki.archlinux.org/title/Patching_packages btw, might help maybe