update archlinux PKGBUILD for pacman 4.1

just updates to clean up the pkgbuild to better follow archlinux package guidelines.

move the patch to prepare()

and use source=() for the git repository which is now supported.