fix to pkgbuild