39 lines
1.2 KiB
Bash
39 lines
1.2 KiB
Bash
# Template file for 'kmymoney'
|
|
pkgname=kmymoney
|
|
version=5.0.2
|
|
revision=3
|
|
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"
|
|
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=57f321ebdb1e8bc04e41531a7d0ce947c65101d7768c2aa45c65370b5d67a593
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
configure_args+=" -DENABLE_LIBICAL=0"
|
|
fi
|
|
|
|
post_extract() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
sed /find_package\(Libical\)/d -i CMakeLists.txt
|
|
fi
|
|
}
|
|
|
|
kmymoney-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
}
|
|
}
|