from pathlib import Path


def guess_pkginfo_file(pkg_name: Path, version: str, pkginfo_ext: str) -> str:
    """Guess the resulting pkginfo file based on observed munkiimport behaviour
    :param pkg_name (str): the package name
    :param version (str): the application verision
    :param pkginfo_ext (str): the pkginfo extension per munkirepo configuration"""
    result = f"{pkg_name}-{version}{pkginfo_ext}"

    return result