void-packages/srcpkgs/kdbusaddons/template

26 lines
865 B
Bash

# Template file for 'kdbusaddons'
pkgname=kdbusaddons
version=5.57.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons 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=86946d97e74420637f59ea0fff93e303bcbdc5b1d5e1c6361e2d9a3ceb0e1259
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"
}
}