void-packages/srcpkgs/kdesu/template
2020-04-11 15:45:02 +02:00

26 lines
843 B
Bash

# Template file for 'kdesu'
pkgname=kdesu
version=5.69.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 <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=5b8d257ff72005bde3b4e817baade1591313820f0bbe37430bd0ff0dcde53185
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"
}
}