void-packages/srcpkgs/ark/template

29 lines
1.2 KiB
Bash

# Template file for 'ark'
pkgname=ark
version=24.05.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-base gettext
kf6-kdoctools kf6-kconfig pkg-config python3 kf6-kcoreaddons"
makedepends="libarchive-devel kf6-kpty-devel kf6-kparts-devel kf6-kitemmodels-devel libzip-devel kf6-kfilemetadata-devel kf6-kdbusaddons-devel kf6-kdoctools-devel kf6-ki18n-devel kf6-kio-devel kf6-kwindowsystem-devel kf6-kiconthemes-devel kf6-kwidgetsaddons-devel kf6-kconfig-devel kf6-kcrash-devel"
checkdepends="p7zip p7zip-unrar lzop lrzip unrar unzip zip zstd"
short_desc="KDE Archiving Tool"
maintainer="John <me@johnnynator.dev>"
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=70b149f0226eb404c9d957971e86a94bc4c071c1aa1a4d233c491e5fdb63f9d7
do_check() {
cd build
# plugins-clirartest requires rar compressor
# app-batchextracttest is broken
XDG_RUNTIME_DIR=$x
ctest -E plugins-clirartest \
-E app-batchextracttest
}