# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kguiaddons pkgver=5.56.0 pkgrel=0 pkgdesc="Addons to QtGui" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1" 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 \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="90e89e96a2d71aeb78478079bd056a0b3ea10404453b00cf57ab7a75795867bd116af16c4a92ead592e7e5d1cb573f321cd556ff5414d28aa8c9d436a2071aef kguiaddons-5.56.0.tar.xz"