void-packages/srcpkgs/kaddressbook/template

28 lines
948 B
Bash

# Template file for 'kaddressbook'
pkgname=kaddressbook
version=21.12.3
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=ad02369e61e42b32cd8a302e6510cffb99a20115a83412389e81a6e49b03f8c3
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"
}
}