void-packages/srcpkgs/kmymoney/template

32 lines
1.1 KiB
Bash

# Template file for 'kmymoney'
pkgname=kmymoney
version=5.0.1
revision=2
build_style=cmake
configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
hostmakedepends="extra-cmake-modules kconfig kcoreaddons kdoctools pkg-config
python qt5-host-tools qt5-qmake"
makedepends="akonadi5-devel aqbanking-devel gmp-devel gmpxx-devel gpgmeqt-devel
gwenhywfar-devel gwenhywfar-qt5 kactivities5-devel kcmutils-devel
kcontacts-devel kdewebkit-devel kdiagram-devel kholidays-devel
kidentitymanagement-devel kross-devel libalkimia-devel libical-devel
libofx-devel"
depends="shared-mime-info"
homepage="https://kmymoney.org"
short_desc="Personal finance manager"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-2.0-or-later"
distfiles="${KDE_SITE}/kmymoney/${version}/src/${pkgname}-${version}.tar.xz"
checksum=dd6e8fc22a48ddcb322565c8f385d6aa44d582cfcf6fe2ff3dc11fc0b6bd2ab1
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DENABLE_LIBICAL=0"
fi
kmymoney-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
}
}