There are some tools supposed to make editing PKGBUILDs automatically easier: - https://github.com/ava1ar/customizepkg - https://github.com/archlinuxfr/customizepkg - https://sourceforge.net/projects/customizepkg-ng/
There are some tools supposed to make editing PKGBUILDs automatically easier: