aports/community/analitza/APKBUILD
2024-09-13 13:50:51 +00:00

50 lines
1.3 KiB
Plaintext

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: team/kde <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-applications
pkgname=analitza
pkgver=24.08.1
pkgrel=0
# armhf blocked by extra-cmake-modules
arch="all !armhf"
url="https://edu.kde.org/"
pkgdesc="A library to add mathematical features to your program"
license="GPL-2.0-or-later AND GFDL-1.2-only"
depends_dev="
eigen-dev
qt6-qt5compat-dev
qt6-qtbase-dev
qt6-qtdeclarative-dev
qt6-qtsvg-dev
qt6-qttools-dev
"
makedepends="$depends_dev
extra-cmake-modules
samurai
"
checkdepends="xvfb-run"
subpackages="$pkgname-dev $pkgname-lang"
_repo_url="https://invent.kde.org/education/analitza.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/analitza-$pkgver.tar.xz"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
xvfb-run ctest --test-dir build --output-on-failure -E "(analitza|planecurve|plotsmodel)test"
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
08aa852d97b2e02114e6220d1ea351261b1671cf9d263ac2f00e0ce24a2cf8f8acf626bfb9d8f1075de7e94a7523cf53a0e1460b3428578d6e5ae72a4b8fb8ed analitza-24.08.1.tar.xz
"