void-packages/srcpkgs/kcmutils/template

27 lines
833 B
Bash

# Template file for 'kcmutils'
pkgname=kcmutils
version=5.80.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=8c93b1a865bcfe0aa85b8ac59b7b0f214aa5fdc5767ee51657657360a8739e59
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"
}
}