39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'kf6-kcontacts'
|
|
pkgname=kf6-kcontacts
|
|
version=6.6.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
|
|
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"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kcontacts"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
|
|
checksum=99f0527d49bc6b3fbdc91c4b7edb67c86936e7a4c8cd881bd9da2eedf5666d6c
|
|
|
|
do_check() {
|
|
cd build
|
|
# disable failing test
|
|
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"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|