void-packages/srcpkgs/kf6-kservice/template

28 lines
900 B
Bash

# Template file for 'kf6-kservice'
pkgname=kf6-kservice
version=6.1.0
revision=1
build_style=cmake
build_helper=qemu
configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
gettext kf6-kdoctools kf6-kconfig"
makedepends="kf6-kconfig-devel kf6-kcoreaddons-devel kf6-ki18n-devel
kf6-kdoctools-devel"
short_desc="KDE Plugin framework for desktop services"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kservice"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=ee2ee7fde2c47955890876f890a0d16792f29b0cc74fd296ccab153d8b5ce781
kf6-kservice-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}