void-packages/srcpkgs/akonadi-import-wizard/template

34 lines
1.2 KiB
Bash

# Template file for 'akonadi-import-wizard'
pkgname=akonadi-import-wizard
version=24.08.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="extra-cmake-modules kf6-kcoreaddons kf6-kdoctools qt6-base qt6-tools
gettext kf6-kconfig kf6-kauth-tools"
makedepends="kf6-kcontacts-devel mailcommon-devel mailimporter-devel messagelib-devel
kcalutils-devel kf6-kdoctools-devel kf6-kconfig-devel kf6-kauth-devel"
short_desc="Import data from other mail clients to KMail"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=10e34286c88efda06f7e30b7208afe9ecb2ee4bd98ca675a59d709c0090f5481
if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" != "64$XBPS_TARGET_WORDSIZE" ]; then
broken="Qt6 WebEngine"
fi
akonadi-import-wizard-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}