aboutsummaryrefslogtreecommitdiffstats
path: root/testing/alkimia/APKBUILD
blob: dde5a18e4ba50a06e8ed46b8297dc254026cf7af (plain) (blame)
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
32
33
34
35
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=alkimia
pkgver=8.0.3
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="04debd3adeba6380ffe7e9d3949e927dca12ecd7f83dea7b7ba6295b158272c636978c89800757166889e632fed09f3e8b3ce19adc9b91e3369e3b16a5b6cb1e  alkimia-8.0.3.tar.xz"