mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
50 lines
1.2 KiB
Plaintext
50 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=kalk
|
|
pkgver=24.08.1
|
|
pkgrel=0
|
|
pkgdesc="A powerful cross-platfrom calculator application"
|
|
arch="all !armhf" # Blocked by qt6-qtdeclarative
|
|
url="https://invent.kde.org/utilities/kalk"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="
|
|
bison
|
|
extra-cmake-modules
|
|
flex
|
|
gmp-dev
|
|
kconfig-dev
|
|
kcoreaddons-dev
|
|
ki18n-dev
|
|
kirigami-dev
|
|
kunitconversion-dev
|
|
libqalculate-dev
|
|
mpfr-dev
|
|
qt6-qtbase-dev
|
|
samurai
|
|
"
|
|
subpackages="$pkgname-lang"
|
|
_repo_url="https://invent.kde.org/utilities/kalk.git"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/kalk-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
ctest --test-dir build --output-on-failure -E "knumbertest|inputmanagertest"
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
ea7a02de8b9e6489644d35dbc0806173383ea806a9b7e04ca34265d4c26b4d21802be5868462fbdbe37e47e316851ae87a970243a316593aacaa538fb468af80 kalk-24.08.1.tar.xz
|
|
"
|