make kactivities 5.19 work with plasma 5.6.

This commit is contained in:
Weng Xuetian 2016-03-03 19:31:40 +00:00
parent 2f424e8f46
commit a19635e293

View File

@ -3,7 +3,7 @@ source ../frameworks.conf
pkgname=kactivities-frameworks
_pkgname=kactivities
pkgver=${KFVersion}
pkgrel=1
pkgrel=2
arch=('x86_64')
pkgdesc="Core components for the KDE's Activities"
url='https://projects.kde.org/projects/frameworks/kactivities'
@ -31,5 +31,11 @@ build() {
package() {
cd build
make DESTDIR="${pkgdir}" install
if [ "$(vercmp ${pkgver} 5.19.0)" == 1 ]; then
echo "Please make PKGBUILD use plain make install, this is only for 5.19 with plasma 5.6"
fi
make DESTDIR="${pkgdir}" -C src/lib install
make DESTDIR="${pkgdir}" -C src/imports install
make DESTDIR="${pkgdir}" -C src/service install
}