# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kblackbox pkgver=19.12.2 pkgrel=1 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 \ -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="a0ccbabfc52bac6d503b37af95f9f2b26a092ed1f385deaf212731030da1a0ae06ce6ebcf0ee068094aa8e48dfffdaf4d6fae44e21bdfea388076621647a347c kblackbox-19.12.2.tar.xz"