Subject: [PATCH] testing/khangman: new aport

From: Bart Ribbers <[email-masked]>
Date: Mon, 2 Sep 2019 17:02:39 +0200

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

diff --git a/testing/khangman/APKBUILD b/testing/khangman/APKBUILD
new file mode 100644
index 0000000000..af4568797f
--- /dev/null
+++ b/testing/khangman/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=khangman
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+url="http://edu.kde.org/khangman"
+pkgdesc="Hangman game"
+license="GPL-2.0-or-later"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev ki18n-dev kcrash-dev kcompletion-dev kconfig-dev kcoreaddons-dev kconfigwidgets-dev kdeclarative-dev kdoctools-dev knewstuff-dev knotifications-dev kxmlgui-dev kio-dev libkeduvocdocument-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/khangman-$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="99a93c9bc815a31ad03e76c7862909b42951507f44c440d61e353afa706f88580e85343566cb38d2633ffd320583e7399e9c4b431d10ba8e3509822972a25b4c  khangman-19.08.0.tar.xz"
-- 
2.23.0