# Contributor: Andrea Scarpino source ../frameworks.conf pkgname=frameworkintegration pkgver=${KFVersion} pkgrel=1 pkgdesc='Framework providing components to allow applications to integrate with a KDE Workspace' arch=('x86_64') url='https://projects.kde.org/projects/frameworks/frameworkintegration' license=('LGPL') depends=('kio' 'ttf-oxygen') makedepends=("extra-cmake-modules>=${KFECMVersion}") checkdepends=("cmake" '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 make test } package() { cd build make DESTDIR="${pkgdir}" install }