Subject: [PATCH] testing/kiten: new aport

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

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

diff --git a/testing/kiten/APKBUILD b/testing/kiten/APKBUILD
new file mode 100644
index 0000000000..5873d70054
--- /dev/null
+++ b/testing/kiten/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=kiten
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+url="http://edu.kde.org/kiten/"
+pkgdesc="Japanese Reference/Study Tool"
+license="GPL-2.0-or-later AND GFDL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev karchive-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdoctools-dev ki18n-dev khtml-dev knotifications-dev kxmlgui-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/kiten-$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="998016a0e61185efa4d9b2a8c50b803ede5c36ab71ad1ab6cff3693fe6c6709432d04a3ea92c8a5e247e7fa13c9b7572e96a0919b812130675059debe3ba12b8  kiten-19.08.0.tar.xz"
-- 
2.23.0