void-packages/srcpkgs/ark/template

25 lines
922 B
Bash

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