fixed for pkgbuild