# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kde-gtk-config pkgver=5.18.4 _pkgver=5.18.4.1 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" builddir="$srcdir/$pkgname-$_pkgver" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="9a6ba26c4d0b4936fcdc8a32a8d0e48294757a3315de38bba64bbeaed2d23a0ccf117d54208af502f30e5d5878a4a925a84c061adf23741d5f64db539efa2737 kde-gtk-config-5.18.4.1.tar.xz"