for ((i=0; i<${#source[@]}; i++)); do
  if [ "${source[${i}]}" = "http://dl.4players.de/ts/releases/${pkgver}/TeamSpeak3-Client-linux_amd64-${pkgver}.run" ]; then
    source[${i}]="http://dl.4players.de/ts/releases/${pkgver}/TeamSpeak3-Client-linux_x86-${pkgver}.run"
    sha512sums[${i}]='ad6ea2d5f8237585859c5deac11e0f0b6af6018b2a92fe0aab2a04cfdeab0bd57166bf4fec273d48fedd20819203cba2fd58c3a76b59ec3224e867fc10172808'
  fi
done



eval "$(
  declare -f prepare | \
    sed '
      s|TeamSpeak3-Client-linux_amd64|TeamSpeak3-Client-linux_x86|
    '
)"