# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=katomic pkgver=19.12.2 pkgrel=1 arch="all !armhf" url="https://kde.org/applications/games/org.kde.katomic" pkgdesc="A fun and educational game built around molecular geometry" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev kcoreaddons-dev kconfig-dev kcrash-dev kwidgetsaddons-dev ki18n-dev kxmlgui-dev knewstuff-dev kdoctools-dev kdbusaddons-dev libkdegames-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/katomic-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # No tests build() { cmake \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="6ade67b594ef3444c4a936e51dae93c4d0d2828f52b8704eb51c0af4dab784b9820a575bc30c99caff94c8e55e8de2326dbb8d1ff62d4ee88da48b11e3ef78fc katomic-19.12.2.tar.xz"