Major overhaul of the PKGBUILD