From 2366690674015585386cbff5ede5b26bdef512c5 Mon Sep 17 00:00:00 2001 From: Luciogi Date: Wed, 12 Jun 2024 11:03:59 +0500 Subject: [PATCH] kf6-kcontacts: update to 6.3.0. --- srcpkgs/kf6-kcontacts/template | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/srcpkgs/kf6-kcontacts/template b/srcpkgs/kf6-kcontacts/template index ee24ac330e4..b4ea5ca8c62 100644 --- a/srcpkgs/kf6-kcontacts/template +++ b/srcpkgs/kf6-kcontacts/template @@ -1,10 +1,10 @@ # Template file for 'kf6-kcontacts' pkgname=kf6-kcontacts -version=6.2.0 +version=6.3.0 revision=1 build_style=cmake hostmakedepends="extra-cmake-modules qt6-tools qt6-base - gettext" + gettext qt6-declarative-host-tools" makedepends="qt6-base-devel kf6-kcoreaddons-devel kf6-ki18n-devel kf6-kconfig-devel kf6-kcodecs-devel" short_desc="Library for working with contact information" @@ -12,7 +12,7 @@ maintainer="John " license="LGPL-2.1-or-later" homepage="https://invent.kde.org/frameworks/kcontacts" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz" -checksum=709ca19e9076f98751764d029b8d648c6a61b17262ba4821cf97f913ccbd1bf9 +checksum=229b5b1797cdc7faeb227f715c86edee8e8464f40b247432af909e3b3d30b107 do_check() { cd build @@ -20,6 +20,13 @@ do_check() { ctest -E "kcontacts-addresstest" } +post_install() { + if [[ "$XBPS_TARGET_MACHINE" == arm* ]]; then + mv ${DESTDIR}/usr/lib64/* ${DESTDIR}/usr/lib/ + rm -rf ${DESTDIR}/usr/lib64 + fi +} + kf6-kcontacts-devel_package() { depends="$makedepends ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files"