# Template file for 'kup' pkgname=kup version=0.10.0 revision=2 build_style=cmake configure_args="-DQT_MAJOR_VERSION=6" hostmakedepends="qt6-base qt6-tools extra-cmake-modules gettext kf6-kcmutils kf6-kpackage-devel" makedepends="qt6-declarative kf6-kidletime-devel libgit2-1.9-devel libplasma-devel plasma5support-devel kf6-kio-devel kf6-kxmlgui-devel kf6-kcmutils-devel kf6-kdbusaddons-devel" depends="rsync" short_desc="Kup is created to keep backups of personal files" maintainer="Orphaned " license="GPL-2.0-or-later" homepage="https://apps.kde.org/kup/" distfiles="${KDE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" checksum=ac58f3f789973cac5f2b70a81683294e90f7f84fa3b399116b398bca6eff1b0a post_configure() { sed -i -e "s,${XBPS_CROSS_BASE}/usr/libexec/kf6/kcmdesktopfilegenerator,/usr/libexec/kf6/kcmdesktopfilegenerator," \ build/build.ninja } post_install() { if [ "$CROSS_BUILD" -a "$XBPS_TARGET_WORDSIZE" -eq 32 ]; then mv "${DESTDIR}/usr/lib64" "${DESTDIR}/usr/lib" fi }