kde-cli-tools: add symlink for kdesu / fix cross-build
closes #13376 Closes #13438. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
parent
1e21709865
commit
13a41ec095
1 changed files with 12 additions and 4 deletions
|
@ -1,16 +1,24 @@
|
|||
# Template file for 'kde-cli-tools'
|
||||
pkgname=kde-cli-tools
|
||||
version=5.12.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_TESTING=OFF"
|
||||
hostmakedepends="extra-cmake-modules pkg-config"
|
||||
makedepends="kdoctools kcmutils-devel kdelibs4support-devel kdesu-devel
|
||||
kactivities5-devel"
|
||||
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://projects.kde.org/projects/plasma/kde-cli-tools"
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue