25a26
> makepkg_grp=makepkg
158c159
< 	local builduser_uid builduser_gid
---
> 	local builduser_uid builduser_gid makepkggrp_gid
160a162
> 	makepkggrp_gid="$(getent group "$makepkg_grp" | cut -d: -f3)"
167a170
> 	sed -e '/^makepkggrp:/d' -i "$copydir"/etc/{group,gshadow}
170a173,175
> 	printf >>"$copydir/etc/group"  'makepkggrp:x:%d:builduser\n' "$makepkggrp_gid"
> 	printf >>"$copydir/etc/gshadow" 'makepkggrp:!::builduser\n'
