void-packages/srcpkgs/kaddressbook/template

28 lines
948 B
Bash

# Template file for 'kaddressbook'
pkgname=kaddressbook
version=21.12.2
revision=1
build_style=cmake
configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools kconfig
libkdepim-devel kcoreaddons kcmutils gettext"
makedepends="akonadi5-devel libkleo-devel 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=cb8ca8cf512fdc2db775db5b91fee835150e9885ac946e18f59d0e60d22f4c11
kaddressbook-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}