void-packages/srcpkgs/kcmutils/template

27 lines
833 B
Bash

# Template file for 'kcmutils'
pkgname=kcmutils
version=5.76.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=0ea51ea9e46e6359c76fe099fd2cd03c20891a1cad26ea156ca921a9f0869009
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"
}
}