void-packages/srcpkgs/ark/template
2020-03-12 21:11:56 +01:00

23 lines
783 B
Bash

# Template file for 'ark'
pkgname=ark
version=19.12.3
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="Andrea Brancaleoni <abc@pompel.me>"
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=78594029729c197fc90321850696f1bd189b40d8d7fbc9faf51ad6b2ab744a07
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" python3 kcoreaddons kparts"
configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi
pre_check() {
export QT_QPA_PLATFORM=offscreen
}