void-packages/srcpkgs/kcontacts/template

26 lines
836 B
Bash

# Template file for 'kcontacts'
pkgname=kcontacts
version=19.08.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="Helmut Pozimski <helmut@pozimski.eu>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/applications/kcontacts"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=b245832fe6150a915d3bcbf1ec4c2c37b6aab541b2568f4955dcd76afa1c486e
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"
}
}