That makes more sense. This is a completely different error, by the way.
This repo doesn’t have a PKGBUILD, it has a Makefile. You install it according to the instructions in the repo:
Installation
- Clone the repository, cd into it.
make build
sudo make install
By the way, this package is installed by default in the Sway spin–no need to install it again.