void-packages/srcpkgs/kcmutils/template

27 lines
833 B
Bash

# Template file for 'kcmutils'
pkgname=kcmutils
version=5.77.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons extra-cmake-modules
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=85bc905e156a56042572403dfcf53a653bdee3c87c9c367042048f4761f1e684
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"
}
}