New comment by Chocimier on void-packages repository https://github.com/void-linux/void-packages/pull/29492#issuecomment-799759328 Comment: This breaks a lot, `printf %s "$url" | sed 's%/-/.*%%g' | sed 's%/$%%'` is better but still breaks old urls without dashes like abootimg or sane. Their urls would need to be updated if they updated gitlab.