There's a closed pull request on the void-packages repository 99-pkglint-subpkgs: replace grep with case..esac https://github.com/void-linux/void-packages/pull/27137 Description: On experience with 100 subpkgs, this change reduces execution time from 284ms to 4ms