Subject: [PATCH] testing/ktouch: new aport

From: Bart Ribbers <[email-masked]>
Date: Thu, 5 Sep 2019 12:46:37 +0200

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

diff --git a/testing/ktouch/APKBUILD b/testing/ktouch/APKBUILD
new file mode 100644
index 0000000000..98cdcd6505
--- /dev/null
+++ b/testing/ktouch/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=ktouch
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+url="http://edu.kde.org/ktouch/"
+pkgdesc="Touch Typing Tutor"
+license="GPL-2.0-or-later AND GFDL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev qt5-qtxmlpatterns-dev qt5-qtx11extras-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdeclarative-dev kdoctools-dev ki18n-dev kitemviews-dev kcmutils-dev ktextwidgets-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev kiconthemes-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/ktouch-$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="fac0072441345fa7a85e70817f9f65e73995628f1f92c0bba9ad28bc996fdd997976df3995578ba5b9d34b494d04fde0be3179161b27ad6fc310282bf238623a  ktouch-19.08.0.tar.xz"
-- 
2.21.0