def _xrt_component_package(name, package):
    """
    Get component package filename from base XRT package filename.

    Args:
        name (str): Package component name like 'xrt' or 'aws'.
        package (str): Package filename.

    Returns:
        Component package filename.
    """
    return package[::-1].replace("trx-", ("-" + name)[::-1], 1)[::-1]