overhaul pkgbuild