Subject: [PATCH] testing/klettres: new aport

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

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

diff --git a/testing/klettres/APKBUILD b/testing/klettres/APKBUILD
new file mode 100644
index 0000000000..2d21b2c49c
--- /dev/null
+++ b/testing/klettres/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=klettres
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+url="http://edu.kde.org/klettres"
+pkgdesc="Learn the Alphabet"
+license="GPL-2.0-or-later AND GFDL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kcompletion-dev kcrash-dev kdoctools-dev ki18n-dev knewstuff-dev kwidgetsaddons-dev kconfigwidgets-dev kcoreaddons-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/klettres-$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="2d9fef7673dc2b9623823e14fe96173c5274281e03bfc6bc6fbc8d6dbe29788f43359ec9f13c2a8cfced2e52f71fa9fda71edc152a8689009c3eb2a5b8b142bd  klettres-19.08.0.tar.xz"
-- 
2.23.0