# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcolorchooser pkgver=19.08.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/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="12fd9829707ef004f61fc21bffb65d50830f445d470b83228d53a3cdd992256e1b6e6d9b462dd56041934d8d018e32a24b943d902e99ab63c1f4c8a9a1b061a8 kcolorchooser-19.08.0.tar.xz"