pkgname=kimageformats pkgver=6.1.0 pkgrel=1 pkgdesc="Image format plugins for Qt 6" 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') makedepends=('extra-cmake-modules' 'karchive' 'libavif' 'libjxl' 'libraw' 'cmake') source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) sha256sums=(b033fa058ab4c9657e1bcd682a89ca94a5b881e7904dddee6aab4a14bafcc95e) 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 }