void-packages/srcpkgs/ark/template

29 lines
1.2 KiB
Bash

# Template file for 'ark'
pkgname=ark
version=24.02.2
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=06374f5c7c2aee7a93c04bfd7b6b3baaeab3962e8277c9087fea54ba9805bdce
do_check() {
cd build
# plugins-clirartest requires rar compressor
# app-batchextracttest is broken
XDG_RUNTIME_DIR=$x
ctest -E plugins-clirartest \
-E app-batchextracttest
}