I think the right fix for the current build failure is to follow wlroots packaging recommendations: https://github.com/swaywm/wlroots/wiki/Packaging-recommendations
It recommends setting -Dwerror=false to "avoid failing the build on warnings", which is the current cause of the failure.
This package should follow those recommendations.
Pinned Comments
aperez commented on 2018-09-28 08:31 (UTC) (edited on 2019-03-07 16:25 (UTC) by aperez)
IMPORTANT
Please do not flag this package as out-of-date if the only change you need is to update to a newer version. It is not needed because it always fetches the sources using Git and uses the most recent version without needing to modify the PKGBUILD — just rebuild the package.
Also, please try building in a clean chroot before assuming that the PKGBUILD is broken.