pkgname=libkexiv2 pkgver=24.04.80 pkgrel=1 pkgdesc="A library to manipulate pictures metadata" arch=('x86_64') url="https://www.kde.org" license=('GPL-2.0-or-later' 'LGPL-2.0-or-later') depends=('gcc-libs' 'glibc' 'exiv2' 'qt6-qtbase') makedepends=('extra-cmake-modules' 'kdoctools' 'cmake') source=(https://github.com/KDE/libkexiv2/archive/refs/tags/v${pkgver}/${pkgname}-${pkgver}.tar.gz) sha256sums=(705f23cdc5266620074273c812c9f49798c9ccef87680648ba1b9bbc681595c7) build() { cd ${pkgname}-${pkgver} cmake -B flarebird-build -Wno-dev \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_WITH_QT6=ON \ -DBUILD_TESTING=OFF cmake --build flarebird-build } package() { cd ${pkgname}-${pkgver} DESTDIR=${pkgdir} cmake --install flarebird-build }