[pacman-dev] [PATCH v2 3/4] Moved dependencies of download functions into a library