kde-cli-tools: update to 6.0.4

This commit is contained in:
John 2024-03-05 13:36:41 +01:00 committed by Đoàn Trần Công Danh
parent 80120b4b49
commit 5c250091f1

View file

@ -1,20 +1,25 @@
# Template file for 'kde-cli-tools'
pkgname=kde-cli-tools
version=5.27.11
version=6.0.4
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF5_HOST_TOOLING=/usr/lib/cmake"
hostmakedepends="extra-cmake-modules gettext pkg-config kcmutils-devel
kpackage-devel kdoctools kcoreaddons-devel python3 qt5-host-tools qt5-qmake"
makedepends="kactivities5-devel kcmutils-devel kdelibs4support-devel
kdesu-devel plasma-workspace-devel"
build_helper=qemu
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools gettext"
makedepends="plasma-activities-devel kf6-kcmutils-devel kf6-kdesu-devel
plasma-workspace-devel kf6-ki18n-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=8a25f8fea64e5a7fd5a798041cab920217630eea809adfa07b9d111142b28255
checksum=39d6e93ee2e274d3a4b878d46b761be7cb338ee261325f326ce291a0ec95ae6d
if [ $CROSS_BUILD ]; then
hostmakedepends+=" kf6-kconfig-devel kf6-kcmutils-devel"
fi
post_install() {
ln -sf ../libexec/kf5/kdesu ${DESTDIR}/usr/bin