void-packages/srcpkgs/ark/template

28 lines
930 B
Bash

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