use ->next instead of alpm_list_next
simplify archive extraction

We no longer care about the subdir name because we don't read the
PKGBUILD.