update pkgbuild
utility functions