mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-21 05:26:40 +02:00
40 lines
1,008 B
Text
40 lines
1,008 B
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=speedcrunch
|
|
pkgver=0.12
|
|
pkgrel=3
|
|
pkgdesc="SpeedCrunch is a high-precision scientific calculator."
|
|
url="http://www.speedcrunch.org/"
|
|
arch="" # blocked by py3-sphinx-theme-quark
|
|
license="GPL-2.0-or-later"
|
|
makedepends="
|
|
cmake
|
|
libxkbcommon-dev
|
|
py3-sphinx
|
|
py3-sphinx-theme-quark
|
|
qt5-qtbase-dev
|
|
qt5-qttools-dev
|
|
samurai
|
|
"
|
|
source="https://bitbucket.org/heldercorreia/speedcrunch/get/release-0.12.0.tar.bz2"
|
|
builddir="$srcdir/heldercorreia-speedcrunch-ea93b21f9498"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja -S src \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DREBUILD_MANUAL=off
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
ctest --test-dir build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
b41f147f2530735af2fad0ecef6047459baed03904ec6d8097a3f21d7d200c2d89beda77676ea1ff762c5c164cd7b639cae84942f61c869acd77aa380c80f141 release-0.12.0.tar.bz2
|
|
"
|