def arch_mapper(arch, package):
    """
    Update package download_url using FreeBSD arch information and return package.
    """
    package.download_url = ('https://pkg.freebsd.org/{}/latest/All/{}-{}.txz'
        .format(arch, package.name, package.version))
    return package
