# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kde-gtk-config pkgver=5.17.1 pkgrel=0 pkgdesc="GTK2 and GTK3 Configurator for KDE" arch="all" 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 gsettings-desktop-schemas 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" subpackages="$pkgname-lang" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="e3e80e5ea3eb7b143e23bba8deb94a858f5d462004ec9bf8a899f7170c4d0b614bd80a81c1a17de77ed0954fcee7ee4fd4436e98ac010383c245e951d3e671ab kde-gtk-config-5.17.1.tar.xz"