mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 07:44:38 +08:00
36 lines
834 B
Bash
36 lines
834 B
Bash
source ../frameworks.conf
|
|
|
|
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' 'kactivitymanagerd>=5.5.95')
|
|
makedepends=("extra-cmake-modules>=${KFECMVersion}" 'boost' 'python3')
|
|
provides=("kactivities-frameworks=${pkgver}")
|
|
replaces=("kactivities-frameworks" 'kactivities4')
|
|
conflicts=('kactivities4' 'kactivities-frameworks')
|
|
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
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|