New comment by Chocimier on void-packages repository https://github.com/void-linux/void-packages/issues/42082#issuecomment-1435762498 Comment: `if [ "$pkgname" != "$original_pkgname" ]; then pkgnameoverride=1; fi` doesn't work for just avoiding trimming, that is, final pkgname equal to pkgname in template. Working solution would be to: 1. source `update` file second time in clean subshell and see if it sets any `pkgname` 2. add dedicated `no_trim_pkgname` variable 3. document setting dummy prefix, so it will be trimmed - python3-snappy sets `pkgname="python-python-snappy"` (my preferred)