26 lines
834 B
Bash
26 lines
834 B
Bash
# Template file for 'kdesu'
|
|
pkgname=kdesu
|
|
version=5.78.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="kcoreaddons extra-cmake-modules gettext
|
|
qt5-host-tools qt5-qmake python3"
|
|
makedepends="kservice-devel kpty-devel"
|
|
short_desc="KDE User interface for running shell commands with root privileges"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.0-only"
|
|
homepage="https://invent.kde.org/frameworks/kdesu"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=d5f942ebfa602acf61a46f45474ec2f5403a15111906641f3108de0e8db44b1c
|
|
|
|
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"
|
|
}
|
|
}
|