fixed problems with pkgbuild