23 lines
772 B
Bash
23 lines
772 B
Bash
# Template file for 'ark'
|
|
pkgname=ark
|
|
version=20.04.2
|
|
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="John <johnz@posteo.net>"
|
|
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=ba2176a5ca3ca5de7bb38ff60d276c6cb85eb1533ae0dc76b3c4095fbde0bb96
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" python3 kcoreaddons kparts"
|
|
configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
|
fi
|
|
|
|
pre_check() {
|
|
export QT_QPA_PLATFORM=offscreen
|
|
}
|