improved pkgbuild