I'm using aurto to automatically build packages and host them in a private repository so I can consistently install them on multiple machines (desktops+laptops).
I went to add swhkd-git to aurto today and due to the addition of @sudo in the Makefile it is unable to build the package without user intervention.
I ran makepkg -s with the commit from #299 and then sudo pacman -U with the resulting package and it installs successfully with the suid bit set so I don't think the pkgbuild would need any further changes to run.
$ ls -la /usr/bin/swhk*
-rwsr-xr-x 1 root root 2601936 Jul 30 17:22 /usr/bin/swhkd*
-rwxr-xr-x 1 root root 2012024 Jul 30 17:22 /usr/bin/swhks*