void-packages/srcpkgs/kde-cli-tools/template

25 lines
813 B
Bash

# Template file for 'kde-cli-tools'
pkgname=kde-cli-tools
version=5.19.5
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules gettext pkg-config"
makedepends="kactivities5-devel kcmutils-devel kdelibs4support-devel
kdesu-devel plasma-workspace-devel"
depends="xdg-utils"
short_desc="KDE CLI tools"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later, GPL-2.0-or-later"
homepage="https://invent.kde.org/plasma/kde-cli-tools"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=07314832aee0b424451120e0aad59fdaab96ba713279dc1937cf36ef9b5389c7
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kdoctools kcoreaddons python qt5-host-tools qt5-qmake"
fi
post_install() {
ln -sf ../lib/libexec/kf5/kdesu ${DESTDIR}/usr/bin
}