New review comment by mhmdanas on void-packages repository https://github.com/void-linux/void-packages/pull/46935#discussion_r1375328569 Comment: You could just do `${version%%.*}` to get the major version number dynamically.