Subject: [PATCH] testing/kgeography: new aport

From: Bart Ribbers <[email-masked]>
Date: Mon, 2 Sep 2019 15:06:22 +0200

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

diff --git a/testing/kgeography/APKBUILD b/testing/kgeography/APKBUILD
new file mode 100644
index 0000000000..f82ab35f6b
--- /dev/null
+++ b/testing/kgeography/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=kgeography
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+url="https://edu.kde.org/kgeography"
+pkgdesc="Geography Trainer"
+license="GPL-2.0-or-later"
+makedepends="extra-cmake-modules qt5-qtbase-dev kxmlgui-dev kwidgetsaddons-dev kcoreaddons-dev kconfigwidgets-dev ki18n-dev kitemviews-dev kiconthemes-dev kcrash-dev kdoctools-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/kgeography-$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="92583c1b7e07b1bb8d99ff1631f7be64c7d63c176d96bb2f72e230a830ec1470b014c32b3d0b8ac34a0666f0aa5b4ad9bb97869e01623f581bc066a46ef5581e  kgeography-19.08.0.tar.xz"
-- 
2.23.0