PKGBUILD 1.29 KB
Newer Older
Xuetian Weng's avatar
Xuetian Weng committed
1

2
pkgname=kactivities
3
pkgver=5.55.0
4
pkgrel=1
Xuetian Weng's avatar
Xuetian Weng committed
5 6
arch=('x86_64')
pkgdesc="Core components for the KDE's Activities"
Xuetian Weng's avatar
Xuetian Weng committed
7
url='https://projects.kde.org/projects/frameworks/kactivities'
Xuetian Weng's avatar
Xuetian Weng committed
8
license=('LGPL')
9
depends=('kcmutils' 'kdeclarative' 'kactivitymanagerd>=5.5.95')
10
makedepends=("extra-cmake-modules>=5.55.0" 'boost' 'python3')
AlmAck's avatar
AlmAck committed
11 12 13
provides=("kactivities-frameworks=${pkgver}" 'libkactivities4')
replaces=("kactivities-frameworks" 'kactivities4' 'libkactivities4')
conflicts=('kactivities4' 'kactivities-frameworks' 'libkactivities4')
Xuetian Weng's avatar
Xuetian Weng committed
14 15
options=("debug")
groups=('kf5')
16
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
17
sha256sums=('6fa9eaddd1d963158edd0be7fea3986be8308ec28e80cf3e57d6256a45dfe936'
18
            'SKIP')
19
validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
20

Xuetian Weng's avatar
Xuetian Weng committed
21 22 23 24 25 26 27

prepare() {
  mkdir -p build
}

build() {
  cd build
28
  cmake ../${pkgname}-${pkgver} \
Luca Giambonini's avatar
Luca Giambonini committed
29
         -DCMAKE_BUILD_TYPE=RelWithDebInfo \
30 31 32 33 34 35
        -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 "$@" \
36
    -DPYTHON_EXECUTABLE=/usr/bin/python3 
Xuetian Weng's avatar
Xuetian Weng committed
37 38 39 40 41
  make
}

package() {
  cd build
AlmAck's avatar
AlmAck committed
42 43
  
  make  DESTDIR="${pkgdir}"  install
Xuetian Weng's avatar
Xuetian Weng committed
44
}