modify `ls pkgs` result