# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kig pkgver=20.08.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 -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="734428b9ec18719105ff3782209cace4442b8ae420cc3149148a2ca8d82dc55b1f3209ca163ca6181fc025f77c89dee9f4b871f97bb62eac836309824711b926 kig-20.08.2.tar.xz"