# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcolorchooser pkgver=19.08.3 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/applications/$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="5f76dafc07597a25126d8faafe8bb88ee16029cb775e47aeb47c440a74f6d7f1b585d6a72fdddb05136e164c6cd61a58b6a74538d7cdb46d388745b44bed81ba kcolorchooser-19.08.3.tar.xz"