# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-applications pkgname=kalzium pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://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=" eigen-dev extra-cmake-modules karchive-dev kconfig-dev kcoreaddons-dev kdoctools-dev khtml-dev ki18n-dev knewstuff-dev kparts-dev kplotting-dev kunitconversion-dev kwidgetsaddons-dev qt5-qtbase-dev qt5-qtsvg-dev samurai solid-dev " _repo_url="https://invent.kde.org/education/kalzium.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kalzium-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang $pkgname-dev" options="!check" # No tests build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 53933e627a53269c4e72525fffa9a1a6da164983acdd4f358f27525389e69ce2c77b498e15ddb9d1d98a0c2a6c6e5f67377e060a683b4db6112b895ee244943d kalzium-23.04.3.tar.xz "