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?
Instead of manually patching the package maybe create an own/local package for it and maintain it on your own and include your patches.