# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcolorchooser pkgver=19.12.0 pkgrel=0 arch="all" url="https://kde.org/applications/graphics/org.kde.kcolorchooser" pkgdesc="A color palette tool, used to mix colors and create custom color palettes" license="MIT" makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kxmlgui-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-lang" options="!check" # No tests build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="65588efb51f56b73bb9f287b4aef034b85b33b6a6d93fbe3e6e9d102204ece86b8d605551b87b2a74bb4829abf601de5183d4534e59b9b3c200ff3b3fdcddece kcolorchooser-19.12.0.tar.xz"