25 lines
786 B
Bash
25 lines
786 B
Bash
# Template file for 'kde-cli-tools'
|
|
pkgname=kde-cli-tools
|
|
version=5.15.2
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules pkg-config"
|
|
makedepends="kactivities5-devel kcmutils-devel kdelibs4support-devel
|
|
kdesu-devel plasma-workspace-devel"
|
|
depends="xdg-utils"
|
|
short_desc="KDE CLI tools"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="LGPL-2.1-or-later, GPL-2.0-or-later"
|
|
homepage="https://cgit.kde.org/kde-cli-tools.git"
|
|
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=62304fd27b9e78fce90507bd2d92de4ec6c018fe39c899756ada2ad0bf4627ac
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" kdoctools python qt5-host-tools qt5-qmake"
|
|
fi
|
|
|
|
post_install() {
|
|
ln -sf ../lib/libexec/kf5/kdesu ${DESTDIR}/usr/bin
|
|
}
|