After glimpsing through your makepkg and PKGBUILD: Are you sure you are using makepkg-debug.conf instead of makepkg.conf as the config? Since you are a beginner, maybe it would have been better to first just compile lxrandr manually, instead of with makepkg.