core/kactivities-frameworks/PKGBUILD

41 lines
841 B
Bash
Raw Normal View History

2014-11-15 06:35:29 +08:00
source ../frameworks.conf
pkgname=kactivities-frameworks
_pkgname=kactivities
pkgver=${KFVersion}
2015-01-13 12:51:39 +08:00
pkgrel=1
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')
2014-11-15 06:49:31 +08:00
makedepends=("extra-cmake-modules>=${KFECMVersion}" 'boost' 'python3')
provides=('kactivitymanagerd')
conflicts=('kactivities<=4.13.3-3' 'kactivities4')
2014-11-15 06:35:29 +08:00
options=("debug")
groups=('kf5')
2015-01-13 12:51:39 +08:00
source=("$KFServer/${_pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${_pkgname}) )
2014-11-15 06:35:29 +08:00
prepare() {
mkdir -p build
cd ${_pkgname}-${pkgver}
}
build() {
cd build
2014-11-15 06:49:31 +08:00
cmake_kf5 ../${_pkgname}-${pkgver} \
-DPYTHON_EXECUTABLE=/usr/bin/python3
2014-11-15 06:35:29 +08:00
make
}
check() {
cd ${srcdir}/build
make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}