cd "${pkg}"
if [[ ! -f "${work_dir}/lockfile/${repo_name}/${_arch}/${pkg}" ]] || [[ "${force}" = true ]]; then
- makepkg --syncdeps --rmdeps --clean --cleanbuild --force --noconfirm --needed --skippgpcheck
+ makepkg --ignorearch --syncdeps --rmdeps --clean --cleanbuild --force --noconfirm --needed --skippgpcheck
mv *.pkg.tar.* "${work_dir}/pkgs/${repo_name}/${_arch}/"
touch "${work_dir}/lockfile/${repo_name}/${_arch}/${pkg}"
else