void-packages/srcpkgs/kf6-kdesu/template

26 lines
836 B
Bash

# Template file for 'kf6-kdesu'
pkgname=kf6-kdesu
version=6.7.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
gettext"
makedepends="kf6-kconfig-devel kf6-kcoreaddons-devel kf6-ki18n-devel
kf6-kpty-devel qt6-base-private-devel"
short_desc="KDE User interface for running shell commands with root privileges"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kdesu"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=41091ea45c6e22e1411d89d1538b2c8bd98bdc1f38d59df3e9c423aac0224e28
kf6-kdesu-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}