PKGBUILD 775 Bytes
Newer Older
AlmAck's avatar
AlmAck committed
1 2 3 4 5 6 7 8 9 10 11 12 13
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')
AlmAck's avatar
AlmAck committed
14 15 16 17
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=( $(getSum ${pkgname} | head -n 2)
                        SKIP)
validpgpkeys=( ${KFvalidpgpkeys} )
AlmAck's avatar
AlmAck committed
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

prepare() {
  mkdir -p build
}

build() {
  cd build
  cmake_kf5 ../${pkgname}-${pkgver} \
    -DPYTHON_EXECUTABLE=/usr/bin/python3 
  make
}

package() {
  cd build
  
  make  DESTDIR="${pkgdir}"  install
}