pkgname=kfilemetadata pkgver=6.1.0 pkgrel=1 pkgdesc="A library for extracting file metadata" arch=('x86_64') url="https://community.kde.org/Frameworks" license=('LGPL-2.0-only' 'LGPL-3.0-only') groups=('kf6') depends=('gcc-libs' 'glibc' 'qt6-qtbase' 'ffmpeg' 'karchive' 'kcodecs' 'kconfig' 'kcoreaddons' 'ki18n') makedepends=('extra-cmake-modules' 'cmake' 'qt6-qttools') source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) sha256sums=(d52a782c54eae5da32912ca876f1975fb7e4bffe1cb1e17226d83614ab3bb1ca) build() { cd ${pkgname}-${pkgver} cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBEXECDIR=libexec \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF \ -Wno-dev -Bbuild cmake --build flarebird-build } package() { cd ${pkgname}-${pkgver} DESTDIR=${pkgdir} cmake --install flarebird-build }