void-packages/srcpkgs/ark/template

24 lines
780 B
Bash

# Template file for 'ark'
pkgname=ark
version=20.04.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-devel qt5-qmake
kdoctools kconfig gettext pkg-config"
makedepends="libarchive-devel kpty-devel kparts-devel kitemmodels-devel libzip-devel"
short_desc="KDE Archiving Tool"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://kde.org/applications/utilities/ark"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=6acda4f29ff463216748f27a791454e1ed2e45851b8e95ada0f56434850917d7
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" python3 kcoreaddons kparts"
configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi
pre_check() {
export QT_QPA_PLATFORM=offscreen
}