Subject: [PATCH] testing/kalzium: new aport

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

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

diff --git a/testing/kalzium/APKBUILD b/testing/kalzium/APKBUILD
new file mode 100644
index 0000000000..9b2d29cbe0
--- /dev/null
+++ b/testing/kalzium/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=kalzium
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+url="http://edu.kde.org/kalzium/"
+pkgdesc="Periodic Table of Elements "
+license="GPL-2.0-or-later AND LGPL-2.0-or-later AND GFDL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev karchive-dev kconfig-dev kcoreaddons-dev kdoctools-dev ki18n-dev khtml-dev kparts-dev kplotting-dev solid-dev kunitconversion-dev kwidgetsaddons-dev knewstuff-dev eigen-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/kalzium-$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="042f6613c2f8312db4a9268f27d040d9a885739d3dd3e47536e465ee94080634e4851721464be8025bf0f381f215bdc89980a5bcfed7439010360cfade02da1f  kalzium-19.08.0.tar.xz"
-- 
2.23.0