mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-10 00:02:41 +02:00
51 lines
1.2 KiB
Plaintext
51 lines
1.2 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=kmplot
|
|
pkgver=23.08.3
|
|
pkgrel=0
|
|
# armhf blocked by extra-cmake-modules
|
|
arch="all !armhf"
|
|
url="https://edu.kde.org/kmplot"
|
|
pkgdesc="Mathematical Function Plotter"
|
|
license="GPL-2.0-or-later AND GFDL-1.2-only"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
kcrash5-dev
|
|
kdbusaddons5-dev
|
|
kdoctools5-dev
|
|
kguiaddons5-dev
|
|
ki18n5-dev
|
|
kparts5-dev
|
|
kwidgetsaddons5-dev
|
|
qt5-qtbase-dev
|
|
qt5-qtsvg-dev
|
|
samurai
|
|
"
|
|
_repo_url="https://invent.kde.org/education/kmplot.git"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/kmplot-$pkgver.tar.xz"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
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="
|
|
73de45ab17b99cbc287b89ee1fcb66edab29d66dbe433dfe4e42d2843706adfc0f24425f29393f3028fdb1b7e75262a0509a202e8fbdf7f27630bfbcf70174ae kmplot-23.08.3.tar.xz
|
|
"
|