Update PKGBUILD

Fix/add dependencies and resolve file ownership issues.