# the install prefix PInstallPrefix="/usr" # download location PServer="http://download.kde.org/stable/plasma/" # Frameworks version PVersion="5.2.2" PSubVersion="5.2.2" # why some package use framework version? PAltSubVersion="5.6.2" PQtVersion="5.4.0" # Build type; can be one of Debug,Release and RelWithDebInfo PBuildType="RelWithDebInfo" function cmake_kf5() { cmake -DCMAKE_BUILD_TYPE=${PBuildType} \ -DCMAKE_INSTALL_PREFIX=${PInstallPrefix} \ -DLIB_INSTALL_DIR=lib \ -DSYSCONF_INSTALL_DIR=/etc \ -DLIBEXEC_INSTALL_DIR=lib \ -DBUILD_TESTING=OFF \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@" } function getSum() { awk "\$2 ~ /^${1}-/ {print \$1}" ../plasma.sums ; }