# Contributor: Andrea Scarpino source ../frameworks.conf pkgname=kxmlgui pkgver=${KFVersion} pkgrel=1 pkgdesc='User configurable main windows' arch=('x86_64') url='https://projects.kde.org/projects/frameworks/kxmlgui' license=('LGPL') depends=('kglobalaccel' 'ktextwidgets' 'attica-qt5') makedepends=("extra-cmake-modules>=${KFECMVersion}" 'python3') checkdepends=('xorg-server-xvfb') groups=('kf5') options=("debug") source=("${KFServer}/${pkgname}-${pkgver}.tar.xz") sha256sums=( $(getSum ${pkgname}) ) prepare() { mkdir -p build } build() { cd build 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 make } package() { cd build make DESTDIR="${pkgdir}" install }