void-packages/srcpkgs/kaddressbook/template

30 lines
1.0 KiB
Bash

# Template file for 'kaddressbook'
pkgname=kaddressbook
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 qt6-base qt6-tools kf6-kconfig
libkdepim-devel kf6-kcoreaddons kf6-kcmutils gettext"
makedepends="kf6-akonadi-devel libkleo-devel kf6-kcmutils-devel kontactinterface-devel
pimcommon-devel"
short_desc="KDE contact manager"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://kde.org/applications/en/office/org.kde.kaddressbook"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=535236de34bc862856ee52ab7abd8d46e163f96c956ef5d632b438c2b5897fad
kaddressbook-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}