core/kactivities-frameworks/PKGBUILD

37 lines
800 B
Bash
Raw Normal View History

2014-11-15 06:35:29 +08:00
source ../frameworks.conf
pkgname=kactivities-frameworks
_pkgname=kactivities
pkgver=${KFVersion}
2016-03-09 06:34:44 +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')
replaces=('kactivities4')
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
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
}
package() {
cd build
2016-03-09 06:34:44 +08:00
make DESTDIR="${pkgdir}" install
2014-11-15 06:35:29 +08:00
}