aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kig/APKBUILD
blob: 284486d28c547b6a6959cf87cf8d86ef54545e9d (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kig
pkgver=19.12.2
pkgrel=0
arch="all !armhf"
url="http://edu.kde.org/kig"
pkgdesc="Interactive Geometry"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kparts-dev kdoctools-dev ki18n-dev ktexteditor-dev kiconthemes-dev kconfigwidgets-dev karchive-dev kxmlgui-dev kcrash-dev kcoreaddons-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/kig-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # No tests

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

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

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

sha512sums="3f091e85d61b5889183097201161ca9378c1085d947a2819e43dc937e8c9c433ba8fba10d8fea1ff1c20af93bd05f9fc8718a130f8d7e17fcd1ab97726cdb117  kig-19.12.2.tar.xz"