void-packages/srcpkgs/kf6-kdbusaddons/template

26 lines
812 B
Bash

# Template file for 'kf6-kdbusaddons'
pkgname=kf6-kdbusaddons
version=6.6.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base "
makedepends="qt6-base-private-devel"
checkdepends="dbus"
short_desc="KDE Convenience classes for DBus"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kdbusaddons"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=521315f80d31e2db4e4344ebf2436a22e75475b70edabe8157f4afb4a2cb42ad
make_check_pre="dbus-run-session"
kf6-kdbusaddons-devel_package() {
depends="${makedepends//private-} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}