void-packages/srcpkgs/kdesu/template
2021-08-17 00:06:52 +02:00

25 lines
797 B
Bash

# Template file for 'kdesu'
pkgname=kdesu
version=5.85.0
revision=1
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=08b4b25b956db0a9e0c5b712d19220aaa8433d29702e85d5c8f451979a9f1ff7
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"
}
}