# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=karchive pkgver=5.69.0 pkgrel=0 pkgdesc="Qt 5 addon providing access to numerous types of archives" arch="all !armhf" # qtdeclarative url="https://community.kde.org/Frameworks" license="LGPL-2.0-only AND LGPL-2.1-or-later" depends_dev="bzip2-dev xz-dev" makedepends="$depends_dev extra-cmake-modules doxygen graphviz qt5-qttools-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/karchive-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="b1a81d995170dd145dee6bfec58f2e4cb6097e85bf8e32190769b5d5ceecf7d751ec3958add75802a15f0cdfaa1b528901d75afdcc0b06a2ba89191122c0d113 karchive-5.69.0.tar.xz"