Subject: [PATCH] testing/kblackbox: new aport

From: Bart Ribbers <[email-masked]>
Date: Wed, 4 Sep 2019 12:16:58 +0200

---
 testing/kblackbox/APKBUILD | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 testing/kblackbox/APKBUILD

diff --git a/testing/kblackbox/APKBUILD b/testing/kblackbox/APKBUILD
new file mode 100644
index 0000000000..d6a38d701f
--- /dev/null
+++ b/testing/kblackbox/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=kblackbox
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+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/applications/$pkgver/src/kblackbox-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+options="!check" # No tests
+
+build() {
+	cmake \
+		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_INSTALL_LIBDIR=lib
+	make
+}
+
+check() {
+	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+	DESTDIR="$pkgdir" make install
+}
+
+sha512sums="2ec6c30e4b58386db45baf44f072a5805563c85d3f30ab7ade222e4012f1c025c2f339436888f0b8b309e91e9ed744c7b3a5db76304837dba8f28d2f0780070d  kblackbox-19.08.0.tar.xz"
-- 
2.21.0