# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kde-gtk-config pkgver=5.18.5 pkgrel=0 pkgdesc="GTK2 and GTK3 Configurator for KDE" arch="all !armhf" # qtdeclarative url="https://cgit.kde.org/kde-gtk-config" license="GPL-2.0 AND LGPL-2.1-only OR LGPL-3.0-only" depends="gsettings-desktop-schemas" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev ki18n-dev kio-dev kconfigwidgets-dev knewstuff-dev karchive-dev kcmutils-dev kiconthemes-dev gtk+2.0-dev gtk+3.0-dev gsettings-desktop-schemas-dev" source="https://download.kde.org/stable/plasma/$pkgver/kde-gtk-config-$pkgver.tar.xz" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="2ef81b454789136692fead9af2b8d7383805ed5cf91f9f781e637f65cbc293b9ac03be7583f5b5848c4db956da4212027c5b54a878c3796ff975292deef9aa84 kde-gtk-config-5.18.5.tar.xz"