improvements in pkgbuild