@piotrv I applied your changes to my /etc/makepkg.conf and was still unable to reproduce your build failure. I should say though, I didn't let my builds progress much past 16% since that's where both you and firemage78 were getting the failure.
EDIT: I let a build progress to 100% with your makepkg.conf configuration. There was no problem.
Did you do a system update just before your successful build? It's possible you guys are using a mirror that's way behind. Check the status of the mirror that you are using here: https://www.archlinux.org/mirrors/status/
Pinned Comments
<deleted-account> commented on 2018-09-14 14:00 (UTC)
When library names like libprotobuf.so.XX change you just need to rebuild compiz. It's not a problem with the PKGBUILD. This is normal for AUR packages. Packages in the official repos also get rebuilt when libraries are updated.
Note that you shouldn't symlink new library names to old. This will create problems for you further down the line.