Subject: [PATCH] testing/katomic: new aport

From: Bart Ribbers <[email-masked]>
Date: Wed, 4 Sep 2019 12:11:06 +0200

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

diff --git a/testing/katomic/APKBUILD b/testing/katomic/APKBUILD
new file mode 100644
index 0000000000..13d508017a
--- /dev/null
+++ b/testing/katomic/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=katomic
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+url="https://kde.org/applications/games/org.kde.katomic"
+pkgdesc="A fun and educational game built around molecular geometry"
+license="GPL-2.0-or-later AND GFDL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev kcoreaddons-dev kconfig-dev kcrash-dev kwidgetsaddons-dev ki18n-dev kxmlgui-dev knewstuff-dev kdoctools-dev kdbusaddons-dev libkdegames-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/katomic-$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="93dfa19358cc582857e18982144da887ba4369ab1413cec4a1a17cac673219b983ba16be4c78f60651590e42ef8b76a266ac72ea91c39e017f2201006518e301  katomic-19.08.0.tar.xz"
-- 
2.21.0