void-packages/srcpkgs/ark/template

25 lines
922 B
Bash

# Template file for 'ark'
pkgname=ark
version=21.04.1
revision=1
build_style=cmake
configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
hostmakedepends="extra-cmake-modules qt5-devel qt5-qmake
kdoctools kconfig gettext pkg-config python3 kcoreaddons kparts"
makedepends="libarchive-devel kpty-devel kparts-devel kitemmodels-devel libzip-devel"
checkdepends="xvfb-run 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=9113e3f1e7c0bc660d8fe56d883b02ba0997c3a7362838e365c6c71bf60662ef
do_check() {
:
# XXX: Doesn't find test archives (?)
#cd build
#CTEST_OUTPUT_ON_FAILURE=TRUE QT_QPA_PLATFORM=offscreen \
# ctest -E 'plugins-cliunarchivertest'
}