void-packages/srcpkgs/kdeplasma-addons5/template

22 lines
849 B
Bash

# Template file for 'kdeplasma-addons5'
pkgname=kdeplasma-addons5
version=5.15.3
revision=1
wrksrc="${pkgname%5}-${version}"
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools kcoreaddons"
makedepends="kross-devel kdesignerplugin-devel kdoctools-devel kholidays-devel
plasma-workspace-devel"
short_desc="Various Plasma addons"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/plasma/kdeplasma-addons"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname%5}-${version}.tar.xz"
checksum=364faceba87e8ae4d9d515615a022316cc1115d75e56fe305ee671ff3ab73c1c
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kconfig-devel kcoreaddons-devel plasma-framework"
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi