core/kactivities/PKGBUILD

36 lines
834 B
Bash
Raw Normal View History

2014-11-15 06:35:29 +08:00
source ../frameworks.conf
pkgname=kactivities
2014-11-15 06:35:29 +08:00
pkgver=${KFVersion}
pkgrel=2
2014-11-15 06:35:29 +08:00
arch=('x86_64')
pkgdesc="Core components for the KDE's Activities"
2015-01-13 12:51:39 +08:00
url='https://projects.kde.org/projects/frameworks/kactivities'
2014-11-15 06:35:29 +08:00
license=('LGPL')
depends=('kcmutils' 'kdeclarative' 'kactivitymanagerd>=5.5.95')
2014-11-15 06:49:31 +08:00
makedepends=("extra-cmake-modules>=${KFECMVersion}" 'boost' 'python3')
provides=("kactivities-frameworks=${pkgver}")
replaces=("kactivities-frameworks" 'kactivities4')
conflicts=('kactivities4' 'kactivities-frameworks')
2014-11-15 06:35:29 +08:00
options=("debug")
groups=('kf5')
source=("$KFServer/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
2014-11-15 06:35:29 +08:00
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver} \
-DPYTHON_EXECUTABLE=/usr/bin/python3
2014-11-15 06:35:29 +08:00
make
}
package() {
cd build
2016-03-09 06:34:44 +08:00
make DESTDIR="${pkgdir}" install
2014-11-15 06:35:29 +08:00
}