25 lines
768 B
Bash
25 lines
768 B
Bash
# Template file for 'kde-cli-tools'
|
|
pkgname=kde-cli-tools
|
|
version=5.12.0
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules pkg-config"
|
|
makedepends="kactivities5-devel kcmutils-devel kdelibs4support-devel
|
|
kdesu-devel"
|
|
depends="xdg-utils"
|
|
short_desc="KDE CLI tools"
|
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
|
license="LGPL-2"
|
|
homepage="https://cgit.kde.org/kde-cli-tools.git"
|
|
distfiles="http://download.kde.org/stable/plasma/${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=9e27eff6a73935b504d7a8fbf35dd8fba353943da0378df6c2f0422c07bf7288
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" kdoctools python qt5-host-tools qt5-qmake"
|
|
fi
|
|
|
|
post_install() {
|
|
ln -sf ../lib/libexec/kf5/kdesu ${DESTDIR}/usr/bin
|
|
}
|