# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kbreakout pkgver=20.08.2 pkgrel=0 arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://kde.org/applications/games/kbreakout/" pkgdesc="A Breakout-like game" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev kconfig-dev kcrash-dev kwidgetsaddons-dev kdbusaddons-dev ki18n-dev kconfigwidgets-dev kxmlgui-dev kdoctools-dev libkdegames-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/kbreakout-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" 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="08781862017568ab48832e1a64ca41e6aaa89a14594116998f5c3b141c97f3b05dc470696bf65bad8d18ad19ce1e63ce5c845d6729813d54e44225d1068cd73d kbreakout-20.08.2.tar.xz"