for ((i=${#source[@]}; i>0; i--)); do if [ "${source[${i}]}" = "http://www.bay12games.com/dwarves/df_${_pkgver}_linux.tar.bz2" ]; then break; fi done source[${i}]="http://www.bay12games.com/dwarves/df_${_pkgver}_linux32.tar.bz2" sha256sums[${i}]='02dd8f4f2703ff647d03cfa437d76e99a2914410671f55c1a31a30e81d7dd08b'