PKGBUILD 1.1 KB
Newer Older
AlmAck's avatar
AlmAck committed
1 2

pkgname=kactivities-stats
AlmAck's avatar
AlmAck committed
3
pkgver=5.47.0
4
pkgrel=1
AlmAck's avatar
AlmAck committed
5 6 7 8 9 10 11 12
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')
13 14
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=('05878febfc1161776918f0cb31fbe9e2b6f896e5871c792db3919e46d4d33652'
AlmAck's avatar
AlmAck committed
15 16
            SKIP)
validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
AlmAck's avatar
AlmAck committed
17 18 19 20 21 22 23

prepare() {
  mkdir -p build
}

build() {
  cd build
24
  cmake ../${pkgname}-${pkgver} \
AlmAck's avatar
AlmAck committed
25
         -DCMAKE_BUILD_TYPE=RelWithDebInfo \
AlmAck's avatar
AlmAck committed
26 27 28 29 30 31
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DKDE_INSTALL_LIBDIR=lib \
        -DKDE_INSTALL_SYSCONFDIR=/etc \
        -DKDE_INSTALL_LIBEXECDIR=lib \
        -DBUILD_TESTING=OFF \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@" \
AlmAck's avatar
AlmAck committed
32 33 34 35 36 37 38 39 40 41
    -DPYTHON_EXECUTABLE=/usr/bin/python3 
  make
}

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