Subject: [PATCH] testing/kig: new aport

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

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

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