void-packages/srcpkgs/kf6-kcmutils/template

33 lines
1.1 KiB
Bash
Raw Normal View History

2024-02-29 21:12:33 +01:00
# Template file for 'kf6-kcmutils'
pkgname=kf6-kcmutils
2024-05-27 08:55:37 +02:00
version=6.2.0
2024-02-29 21:12:33 +01:00
revision=1
build_style=cmake
build_helper=qemu
configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QMLDIR=lib/qt6/qml"
2024-05-11 10:09:08 +02:00
hostmakedepends="extra-cmake-modules gettext qt6-tools qt6-base
qt6-declarative-host-tools kf6-kconfig"
2024-02-29 21:12:33 +01:00
makedepends="kf6-kconfigwidgets-devel kf6-kcoreaddons-devel kf6-kio-devel
kf6-kxmlgui-devel kf6-kconfig-devel"
2024-04-18 07:03:26 +02:00
checkdepends="kf6-kirigami"
2024-02-29 21:12:33 +01:00
short_desc="Utilities for interacting with KCModules"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kcmutils"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
2024-05-27 08:55:37 +02:00
checksum=8cef140ca9eabf29e88a08489c799078e85247907fd6f74165aeafd4ed40c0bb
2024-02-29 21:12:33 +01:00
kf6-kcmutils-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
mkdir -p "${DESTDIR}/usr/lib/cmake/KF6KCMUtils"
mv ${PKGDESTDIR}/usr/lib/cmake/KF6KCMUtils/KF6KCMUtilsTool* \
2024-05-11 15:23:27 +02:00
"${DESTDIR}/usr/lib/cmake/KF6KCMUtils/"
2024-02-29 21:12:33 +01:00
vmove "usr/lib/*.so"
}
}