# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcolorchooser pkgver=19.08.2 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="a522900c1e849f875f13064400759f698a6c7aa9988e865ba1b645d735ded3910682cc00945b1a99b02c5c8b2473a5ecdf9d2b3597d96f921532221fb47ffba9 kcolorchooser-19.08.2.tar.xz"