mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 02:27:13 +08:00
0003c19031
use [@] to get the full array entries, without that only the first element was retrieved
36 lines
778 B
Bash
36 lines
778 B
Bash
source ../frameworks.conf
|
|
|
|
pkgname=kactivities-stats
|
|
pkgver=${KFVersion}
|
|
pkgrel=1
|
|
arch=('x86_64')
|
|
pkgdesc="A library for accessing the usage data collected by the activities system"
|
|
url='https://projects.kde.org/projects/frameworks/kactivities-stats'
|
|
license=('LGPL')
|
|
depends=('kactivities')
|
|
makedepends=("extra-cmake-modules>=${KFECMVersion}" 'boost' 'python3')
|
|
options=("debug")
|
|
groups=('kf5')
|
|
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
|
sha256sums=( $(getSum ${pkgname} | head -n 2)
|
|
SKIP)
|
|
validpgpkeys=( ${KFvalidpgpkeys[@]} )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver} \
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python3
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|