void-packages/srcpkgs/kmymoney/template

36 lines
1.2 KiB
Bash

# Template file for 'kmymoney'
pkgname=kmymoney
version=5.1.3
revision=5
build_style=cmake
configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson
-DENABLE_ADDRESSBOOK=OFF -DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules kconfig kcoreaddons kdoctools pkg-config
python3 qt5-host-tools qt5-qmake gettext"
makedepends="aqbanking-devel gmp-devel gmpxx-devel gpgmeqt-devel
gwenhywfar-devel gwenhywfar-qt5 kactivities5-devel kcmutils-devel
kdewebkit-devel kdiagram-devel kholidays-devel kitemmodels-devel
kross-devel libalkimia-devel libical-devel sqlcipher-devel
libofx-devel kio-devel kbookmarks-devel kwidgetsaddons-devel"
depends="shared-mime-info"
short_desc="Personal finance manager"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-2.0-or-later"
homepage="https://kmymoney.org"
distfiles="${KDE_SITE}/kmymoney/${version}/src/${pkgname}-${version}.tar.xz"
checksum=3938b8078b7391ba32e12bb4239762fae134683a0c2ec1a75105c302ca3e5e3f
post_extract() {
if [ "$CROSS_BUILD" ]; then
vsed /find_package\(LibIcal\)/d -i CMakeLists.txt
fi
}
kmymoney-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
}
}