void-packages/srcpkgs/kcontacts/template

27 lines
869 B
Bash

# Template file for 'kcontacts'
pkgname=kcontacts
reverts="19.08.2_1 19.08.1_1 19.08.0_1 19.04.3_1"
version=5.65.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python
kcoreaddons"
makedepends="qt5-devel kcoreaddons-devel ki18n-devel kconfig-devel kcodecs-devel"
short_desc="Address book API for KDE"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/applications/kcontacts"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=84dd287010c8daa6865337df39ce14b44f8f7c14c810fe095d264d5bafa7b306
kcontacts-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}