mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
52 lines
1.2 KiB
Plaintext
52 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=kcalc
|
|
pkgver=24.08.1
|
|
pkgrel=0
|
|
# armhf blocked by extra-cmake-modules
|
|
arch="all !armhf"
|
|
url="https://kde.org/applications/utilities/org.kde.kcalc"
|
|
pkgdesc="Scientific Calculator"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
gmp-dev
|
|
kconfig-dev
|
|
kconfigwidgets-dev
|
|
kcrash-dev
|
|
kdoctools-dev
|
|
kguiaddons-dev
|
|
ki18n-dev
|
|
knotifications-dev
|
|
kxmlgui-dev
|
|
mpfr-dev
|
|
qt6-qtbase-dev
|
|
samurai
|
|
"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
_repo_url="https://invent.kde.org/utilities/kcalc.git"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/kcalc-$pkgver.tar.xz"
|
|
|
|
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="
|
|
49b2cd775a133cee08d7e7c539cc3341727a64097f412f2a018489dcba6cc7151af1886ac8698de4a9fe09c8f7e4d5ef324933f72b26250369c508115ad62aa1 kcalc-24.08.1.tar.xz
|
|
"
|