New review comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/pull/38326#discussion_r933625816 Comment: ```suggestion _upstream_version="${version/.${version##*.}/-${version##*.}}" ``` should work fine as-is but here's an alternative solution :)