Subject: [PATCH] testing/kturtle: new aport

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

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

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