# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kblackbox pkgver=20.08.2 pkgrel=0 arch="all !armhf" url="https://kde.org/applications/games/org.kde.kblackbox" pkgdesc="A game of hide and seek played on a grid of boxes" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev karchive-dev kcoreaddons-dev kconfig-dev kcrash-dev kdoctools-dev ki18n-dev kdbusaddons-dev ktextwidgets-dev kxmlgui-dev libkdegames-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/kblackbox-$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="5f7eb75c2745f946aa503f257af139e75e9cc7d4b7ad334e7458a3da9e52b87ad88a851878607230f4d90bc02c7e29252515afdda18618d9ff1d1ed21688b2f7 kblackbox-20.08.2.tar.xz"