# Contributor: Andrea Scarpino source ../frameworks.conf pkgname=plasma-framework pkgver=${KFVersion} pkgrel=1 pkgdesc='Plasma library and runtime components based upon KF5 and Qt5' arch=('x86_64') url='https://projects.kde.org/projects/frameworks/plasma-framework' license=('LGPL') depends=('qt5-quickcontrols' 'kactivities-frameworks' 'kpackage') makedepends=("extra-cmake-modules>=${KFECMVersion}" 'qt5-tools' 'kdoctools') checkdepends=("xorg-server-xvfb") options=("debug") groups=('kf5') source=("${KFServer}/${pkgname}-${pkgver}.tar.xz") sha256sums=( $(getSum ${pkgname}) ) prepare() { mkdir -p build } build() { cd build cmake_kf5 ../${pkgname}-${pkgver} make } check() { cd build xvfb-run -s "-screen 0 640x480x24" make test } package() { cd build make DESTDIR="${pkgdir}" install }