diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-07-05 02:55:30 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-05 07:56:59 -0300 |
commit | 819bd837a995659eaf0ecdca074b87ede3a7f99c (patch) | |
tree | 0a7db095bc1cc2c653b577f161056238f0a39f4e /testing/kmymoney | |
parent | 11bbd7f65e042d2905632a310c99e53bfcaae684 (diff) | |
download | aports-819bd837a995659eaf0ecdca074b87ede3a7f99c.tar.bz2 aports-819bd837a995659eaf0ecdca074b87ede3a7f99c.tar.xz |
testing/kmymoney: new aport
Diffstat (limited to 'testing/kmymoney')
-rw-r--r-- | testing/kmymoney/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/kmymoney/APKBUILD b/testing/kmymoney/APKBUILD new file mode 100644 index 0000000000..ad246bfd85 --- /dev/null +++ b/testing/kmymoney/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kmymoney +pkgver=5.0.4 +pkgrel=0 +arch="all" +url="https://kmymoney.org/" +pkgdesc="Personal finance manager for KDE which operates similarly to MS-Money or Quicken" +license="GPL-2.0-or-later" +makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev qt5-qtwebengine-dev kdoctools-dev kholidays-dev kcontacts-dev akonadi-dev kidentitymanagement-dev kactivities-dev karchive-dev kcoreaddons-dev kconfig-dev kconfigwidgets-dev ki18n-dev kcompletion-dev kcmutils-dev kitemmodels-dev kitemviews-dev kservice-dev kwallet-dev kiconthemes-dev kxmlgui-dev ktextwidgets-dev knotifications-dev kio-dev alkimia-dev kdiagram-dev gpgme-dev doxygen" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DENABLE_WEBENGINE=ON # Prevent having to use unreleased qt5-qtwebkit version + make +} + +check() { + # reports-chart-test requires OpenGL + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "reports-chart-test" +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="406460f33b32941796e8b0a2fb21f783db6c2444b35b0402647e688b78ecccb82401a7a1fa7c008ffd840cbd88c82db91e367be917f9ab7b231a0208b439b91f kmymoney-5.0.4.tar.xz" |