pkgname=karchive pkgver=6.1.0 pkgrel=1 pkgdesc="Qt addon providing access to numerous types of archives" arch=('x86_64') url="https://community.kde.org/Frameworks" license=('LGPL-2.0-only' 'LGPL-3.0-only') groups=('kf6') depends=('bzip2' 'gcc-libs' 'glibc' 'xz' 'zlib' 'zstd' 'qt6-qtbase') makedepends=('extra-cmake-modules' 'cmake' 'qt6-qttools') source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) sha256sums=(576c7133cfb994b530bd7377030b926bda227aa2ae420d5d8538f2681926f82c) 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 }