void-packages/srcpkgs/kdbusaddons/template

26 lines
853 B
Bash

# Template file for 'kdbusaddons'
pkgname=kdbusaddons
version=5.51.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-tools-devel"
makedepends="qt5-devel qt5-tools-devel qt5-x11extras-devel"
short_desc="KDE Convenience classes for DBus"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/kdbusaddons"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=6b8e86ef5e5060ce4475a6e3a24f5860ff1b18be8340ba9348828fc86093a4c4
kdbusaddons-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"
}
}