# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkdcraw pkgver=19.04.3 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="354415fd02353f083d699e4bb69a007871bc09d59cb4ad9397c89675dd5a204ec21841b156ab20afb646de3c8c79119bc2867666cafde9f1d3f66847dbaf8b4d libkdcraw-19.04.3.tar.xz"