3051b24e2f
[ci skip]
29 lines
886 B
Bash
29 lines
886 B
Bash
# Template file for 'kdesu'
|
|
pkgname=kdesu
|
|
version=5.64.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="kcoreaddons extra-cmake-modules"
|
|
makedepends="kservice-devel kpty-devel"
|
|
short_desc="KDE User interface for running shell commands with root privileges"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="LGPL-2.0-only"
|
|
homepage="https://projects.kde.org/projects/frameworks/kdesu"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=f4644b0ee91c55473589909c20a7fa1cfbd3d466f1c72b330d53871a2346d4f0
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake python"
|
|
fi
|
|
|
|
kdesu-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|