void-packages/srcpkgs/kpeoplevcard/template

26 lines
759 B
Bash

# Template file for 'kpeoplevcard'
pkgname=kpeoplevcard
version=0.1
revision=1
build_style=cmake
hostmakedepends="gettext AppStream extra-cmake-modules"
makedepends="qt5-devel ki18n-devel kpeople-devel kcontacts-devel"
short_desc="Expose vcards to KPeople"
maintainer="teldra <teldra@rotce.de>"
license="LGPL-2.1-or-later"
homepage="https://kde.org/"
distfiles="${KDE_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
checksum=8de5df5a3abeed2b13fc56f33d1846ae5b90adfc2127bc1b0ffa5e300b7663c3
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake kcoreaddons"
fi
kpeoplevcard-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/cmake
}
}