void-packages/srcpkgs/kcmutils/template

27 lines
832 B
Bash

# Template file for 'kcmutils'
pkgname=kcmutils
version=5.101.0
revision=1
build_style=cmake
build_helper=qemu
hostmakedepends="kcoreaddons extra-cmake-modules
kpackage kconfig qt5-host-tools qt5-qmake python3 gettext"
makedepends="kdeclarative-devel"
short_desc="Utilities for KDE System Settings modules"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later, LGPL-2.0-only"
homepage="https://invent.kde.org/frameworks/kcmutils"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=ab4f18a5616d2ebd4c4ea14fb82c74cfa8adb0e904dd5602eca48ad7a143c54b
kcmutils-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"
}
}