void-packages/srcpkgs/kaddressbook/template

30 lines
1.0 KiB
Bash

# Template file for 'kaddressbook'
pkgname=kaddressbook
version=24.05.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=e4ddf148819d85305003130a7fb0c47d607ff20b4f12d84b3d90d3443478bcd8
kaddressbook-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}