core/kactivities-frameworks/PKGBUILD

41 lines
961 B
Bash
Raw Normal View History

2014-11-15 06:35:29 +08:00
source ../frameworks.conf
pkgname=kactivities-frameworks
_pkgname=kactivities
pkgver=${KFVersion}
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')
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 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DLIBEXEC_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
2014-11-15 06:35:29 +08:00
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}