void-packages/srcpkgs/ark/template

25 lines
922 B
Bash

# Template file for 'ark'
pkgname=ark
version=21.04.0
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=0e5e0552598038e38f42d813aefb46ebee9a3d00ffb1ea163b526de58ce39e0c
do_check() {
:
# XXX: Doesn't find test archives (?)
#cd build
#CTEST_OUTPUT_ON_FAILURE=TRUE QT_QPA_PLATFORM=offscreen \
# ctest -E 'plugins-cliunarchivertest'
}