Subject: [PATCH] testing/kwordquiz: new aport

From: Bart Ribbers <[email-masked]>
Date: Mon, 2 Sep 2019 20:45:07 +0200

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

diff --git a/testing/kwordquiz/APKBUILD b/testing/kwordquiz/APKBUILD
new file mode 100644
index 0000000000..b48615dcf2
--- /dev/null
+++ b/testing/kwordquiz/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=kwordquiz
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+url="https://edu.kde.org/kwordquiz"
+pkgdesc="Flash Card Trainer"
+license="GPL-2.0-or-later AND LGPL-2.0-or-later AND GDFL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kcrash-dev kconfig-dev kconfigwidgets-dev kdoctools-dev kguiaddons-dev kiconthemes-dev kitemviews-dev knotifyconfig-dev knewstuff-dev knotifications-dev kwindowsystem-dev kxmlgui-dev phonon-dev libkeduvocdocument-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/kwordquiz-$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="7299bbf3f573a92fe6ef0ddc5515bca1c9c7a08189e41493a2f9f0a941d8ee1de6137a34285f635ebec1a57b0583bc8a621af2c53aafb6cfa07e4a9872bd946d  kwordquiz-19.08.0.tar.xz"
-- 
2.23.0