pkgname=libkdcraw pkgver=24.04.80 pkgrel=1 pkgdesc="A C++ interface used to decode RAW picture" arch=('x86_64') url="https://www.kde.org" license=('GPL-2.0-or-later' 'LGPL-2.0-or-later') depends=('gcc-libs' 'glibc' 'libraw' 'qt6-qtbase') makedepends=('extra-cmake-modules' 'cmake' 'ninja') source=(https://download.kde.org/unstable/release-service/${pkgver}/src/${pkgname}-${pkgver}.tar.xz) sha256sums=(70646d0d12ea3c042a3689ad42a1fad951997d360c018fa3ad87b41cc130fca4) build() { cd ${pkgname}-${pkgver} cmake -G Ninja -B flarebird-build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF \ -DQT_MAJOR_VERSION=6 \ -Wno-dev cmake --build flarebird-build } package() { cd ${pkgname}-${pkgver} DESTDIR=${pkgdir} cmake --install flarebird-build }