# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkdcraw pkgver=19.04.2 pkgrel=0 arch="all" url="https://kde.org" pkgdesc="RAW image file format support for KDE" license="GPL-2.0-or-later and LGPL-2.0-or-later" depends_dev="qt5-qtbase-dev libraw-dev" makedepends="$depends_dev extra-cmake-modules" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev" 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="ffe6ea1459cba3ba2b2ce3092b825783b1eb89da8de2d5684b6d4816d01bc24afe4610de80779b13d798c0c525bf4847ae3ed67e3c314fc33ab1af5d74aaf7fa libkdcraw-19.04.2.tar.xz"