I'm the current maintainer of Wesnoth, but it's based on the previously working script by someone else.
FYI, i only have KDE on my desktop, so i tested it on KDE. Pardon me for not testing it on other WM.
If you have any suggestion about the SlackBuild script on SBo, feel free to contact me