33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'kf6-kcmutils'
|
|
pkgname=kf6-kcmutils
|
|
version=6.7.0
|
|
revision=1
|
|
build_style=cmake
|
|
build_helper=qemu
|
|
configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake
|
|
-DKDE_INSTALL_QMLDIR=lib/qt6/qml"
|
|
hostmakedepends="extra-cmake-modules gettext qt6-tools qt6-base
|
|
qt6-declarative-host-tools kf6-kconfig"
|
|
makedepends="kf6-kconfigwidgets-devel kf6-kcoreaddons-devel kf6-kio-devel
|
|
kf6-kxmlgui-devel kf6-kconfig-devel"
|
|
checkdepends="kf6-kirigami"
|
|
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"
|
|
checksum=4118388f8f62aa5f1139ed78823b58b009e9ebf7f3755e9a94ab5f9eba644cbe
|
|
|
|
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* \
|
|
"${DESTDIR}/usr/lib/cmake/KF6KCMUtils/"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|