makepkg: fix typo in dep array name

We fixed this up to check architecture specific sources in ec679e09b2,
but fudged the array name in the in_array call.

Signed-off-by: Allan McRae <allan@archlinux.org>
fix duplication of package sha256sum

Signed-off-by: Allan McRae <allan@archlinux.org>
Merge branch 'maint'
pacsort: fix memory leak

Signed-off-by: Allan McRae <allan@archlinux.org>
apply_deltas: fix memory leak on error

Signed-off-by: Allan McRae <allan@archlinux.org>
_alpm_recursedeps: free memory on error

Signed-off-by: Allan McRae <allan@archlinux.org>
Initialize memory to prevent issues when freeing on error

Signed-off-by: Allan McRae <allan@archlinux.org>
_alpm_db_add_pkgincache: free potential memory leak

Signed-off-by: Allan McRae <allan@archlinux.org>
_alpm_run_chroot: only close working directory if it was opened

Signed-off-by: Allan McRae <allan@archlinux.org>
Remove logically dead code in _alpm_local_db_write

We can only get to cleanup: through fp being NULL due to fopen failing or
normal execution when fclose is called.

Signed-off-by: Allan McRae <allan@archlinux.org>
makepkg: call out the source array(s) missing checksums

Signed-off-by: Allan McRae <allan@archlinux.org>
makepkg: print the name of the source array being checked

I don't see an easy fix to avoid printing this more than once, so let's
at least differentiate the messaging so that it's more clear what's
going on.

Signed-off-by: Allan McRae <allan@archlinux.org>
Merge branch 'pacman-upstream'