26 lines
798 B
Bash
26 lines
798 B
Bash
# Template file for 'kdesu'
|
|
pkgname=kdesu
|
|
version=5.100.0
|
|
revision=2
|
|
build_style=cmake
|
|
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=2fd889ad3df827109417abb9e58509f5bd8b06930a0f608ba22892693f0ff6b1
|
|
|
|
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"
|
|
}
|
|
}
|