Since no-one has asked for this before, not sure how many would use this package.
What is your issue with the linked PKGBUILD? Did you remove the line:
-DQT_QMAKE_EXECUTABLE=qmake-qt4
KaOS has Qt 4 as default, so that line probably caused your build error.
Plus did you read: