void-packages/srcpkgs/kcmutils/template

27 lines
833 B
Bash

# Template file for 'kcmutils'
pkgname=kcmutils
version=5.79.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=73d286b84ad32e3fa350b667993a6db731ee4c7e878d0a0cf9f5c81933423ef3
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"
}
}