# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=katomic pkgver=20.08.2 pkgrel=0 # mips64 is blocked by multiple dependencies arch="all !armhf !mips64" 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 -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="e88d3134f158f55be159ff5519cb96f2a3b71946fdbc5c8745c515747bc95ae40493cf241170d3db9b830e68b09621b80f99481f7c01d1cba5ba77f2fc37145a katomic-20.08.2.tar.xz"