void-packages/srcpkgs/kf6-kdbusaddons/template

26 lines
812 B
Bash

# Template file for 'kf6-kdbusaddons'
pkgname=kf6-kdbusaddons
version=6.7.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=e87d08f6d0037d8fa33f1e7d16a4e3aa17d7d0b12c6aa96f76323f78344e151b
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"
}
}