Looking at the code in PCGBUILD...
# Patch to fix TexturePacker build. Ignore that parts of the patch doesn't apply.
patch -i ${srcdir}/xbmc-11.0.2-321-texturepacker-hostflags-and-rework.patch -p1 || return 0
I guess this is going to exit the build (){...} chunk and execute the package {...} chunk prematurely. I replaced the || return 0 with || continue which is wrong but effective.
regards
Andy