mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 05:04:45 +08:00
42 lines
1.0 KiB
Bash
42 lines
1.0 KiB
Bash
source ../frameworks.conf
|
|
|
|
pkgname=kactivities-frameworks
|
|
_pkgname=kactivities
|
|
pkgver=${KFVersion}
|
|
pkgrel=2
|
|
arch=('x86_64')
|
|
pkgdesc="Core components for the KDE's Activities"
|
|
url='https://projects.kde.org/projects/frameworks/kactivities'
|
|
license=('LGPL')
|
|
depends=('kcmutils' 'kdeclarative')
|
|
makedepends=("extra-cmake-modules>=${KFECMVersion}" 'boost' 'python3')
|
|
provides=('kactivitymanagerd')
|
|
conflicts=('kactivities<=4.13.3-3' 'kactivities4')
|
|
replaces=('kactivities4')
|
|
options=("debug")
|
|
groups=('kf5')
|
|
source=("$KFServer/${_pkgname}-${pkgver}.tar.xz")
|
|
sha256sums=( $(getSum ${_pkgname}) )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${_pkgname}-${pkgver} \
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python3
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
|
|
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
|
|
}
|