Refine templates/PKGBUILD