aboutsummaryrefslogtreecommitdiffstats
path: root/testing/alkimia/APKBUILD
blob: 5e43dcb469389869ba3cff1c9aaeaf79407dde78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=alkimia
pkgver=8.0.2
pkgrel=0
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
url="https://community.kde.org/Alkimia/libalkimia"
pkgdesc="A library with common classes and functionality used by finance applications for the KDE SC"
license="GPL-3.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtwebkit-dev qt5-qtdeclarative-dev kconfig-dev kcoreaddons-dev kcompletion-dev ki18n-dev kpackage-dev plasma-framework-dev knewstuff-dev kio-dev kiconthemes-dev ktextwidgets-dev kdoctools-dev kitemmodels-dev kdelibs4support-dev kinit-dev gmp-dev doxygen graphviz"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/alkimia/$pkgver/alkimia-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E 'alkonlinequotestest'
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="5c0c121cac121f68042208ea9b126e4916ee4fa11f41d99709fbf11c44f433ec5eb0c0e112a4e6dc9ccfbc8a5295729cee566783f089bbe9ec2b32b5084839a6  alkimia-8.0.2.tar.xz"