Add required build-time dependencies [bc will be needed in 3.9] (FS#34600).
Removed unneeded deps (only need for building docs pacakge).
Added prepare function for patching (new in pacman 4.1).
Switched the git pull to a static zip file.