core/kactivities-frameworks/PKGBUILD

45 lines
1011 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-15 09:04:47 +08:00
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')
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-15 09:04:47 +08:00
source=("$KFServer/${_pkgname}-${pkgver}.tar.xz"
"activity-start-stop-fix.patch")
sha256sums=( $(getSum ${_pkgname})
'0e18423f3143c5b01be506496eed72fa614d2fc9ec1112cb2aedccb13494cb56')
2014-11-15 06:35:29 +08:00
prepare() {
mkdir -p build
cd ${_pkgname}-${pkgver}
2015-01-15 09:04:47 +08:00
patch -Np1 -i ../activity-start-stop-fix.patch
2014-11-15 06:35:29 +08:00
}
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
}