# Template file for 'ark' pkgname=ark version=20.08.2 revision=1 build_style=cmake hostmakedepends="extra-cmake-modules qt5-devel qt5-qmake kdoctools kconfig gettext pkg-config" makedepends="libarchive-devel kpty-devel kparts-devel kitemmodels-devel libzip-devel" short_desc="KDE Archiving Tool" maintainer="John " license="GPL-2.0-or-later" homepage="https://kde.org/applications/en/utilities/org.kde.ark" distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz" checksum=ec061ac07687b5a3541af293e3bc2aa7bedcfe0ef38ba6e57e2704068a726ffc if [ "$CROSS_BUILD" ]; then hostmakedepends+=" python3 kcoreaddons kparts" configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson" fi pre_check() { export QT_QPA_PLATFORM=offscreen }