# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkexiv2 pkgver=22.04.0 pkgrel=0 pkgdesc="A library to manipulate pictures metadata" url="https://www.kde.org/applications/graphics" arch="all !armhf" # extra-cmake-modules license="GPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev exiv2-dev" subpackages="$pkgname-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/libkexiv2-$pkgver.tar.xz" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums=" 7ae42a03a47a173238f99173d9c1a45fb81fdb8f733d03cc5169a95d6402e3ee43f86ec08164e3c0b5711c66c0c753bce4a419fe75d0df11386e1a409960f86d libkexiv2-22.04.0.tar.xz "