# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kguiaddons pkgver=5.41.0 pkgrel=0 pkgdesc='Addons to QtGui' arch="all" url='https://community.kde.org/Frameworks' license="LGPL-2.1" depends="" makedepends="extra-cmake-modules doxygen qt5-qttools-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" subpackages="$pkgname-dev $pkgname-doc" options="!check" # Fails due to requiring running X11 build() { cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="${pkgdir}" install } sha512sums="0811bbaafad90109cdd18bc188fda7f99c2e2f53a399d823af333a052b6999cae612ecd1cdfd373f3cbc3b79133d10abd28e8c909c2e933883293ed93434f1a0 kguiaddons-5.41.0.tar.xz"