void-packages/srcpkgs/kf6-kdbusaddons/template

26 lines
812 B
Bash

# Template file for 'kf6-kdbusaddons'
pkgname=kf6-kdbusaddons
version=6.3.0
revision=2
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=7e2d8999ef09513aaa42000acb5369b203cd5977308f6e7891cde6a8d4422002
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"
}
}