Open ikspress opened 4 months ago
There are too many utility functions like apply_patch_with_msg revert_patch_with_msg and del_file_exists scattered in various PKGBUILDs, why not separate them into a single file (e.g. scripts/utils.sh) and use source command to load?
apply_patch_with_msg
revert_patch_with_msg
del_file_exists
scripts/utils.sh
source
Or, makepkg could apply the patches automatically by reading source array. I do not know if upstream ArchLinux would accept that proposal.
There are too many utility functions like
apply_patch_with_msg
revert_patch_with_msg
anddel_file_exists
scattered in various PKGBUILDs, why not separate them into a single file (e.g.scripts/utils.sh
) and usesource
command to load?