aports/testing/kalker/APKBUILD
Celeste 148cd1a526 testing/kalker: disable on loongarch64
found libc 0.2.139, support for loongarch64 added in 0.2.154
2024-07-11 13:51:14 +00:00

45 lines
1.1 KiB
Plaintext

# Contributor: Matthias Ahouansou <matthias@ahouansou.cz>
# Maintainer: Matthias Ahouansou <matthias@ahouansou.cz>
pkgname=kalker
pkgver=2.2.0
pkgrel=0
pkgdesc="Calculator that supports user-defined variables, functions, differentiation, and integration"
url="https://kalker.xyz"
# s390x: nix, loongarch64: libc
arch="all !s390x !loongarch64"
license="MIT"
makedepends="
cargo
cargo-auditable
gmp-dev
m4
mpc1-dev
mpfr-dev
"
source="$pkgname-$pkgver.tar.gz::https://github.com/PaddiM8/kalker/archive/refs/tags/v$pkgver.tar.gz
system-libs.patch
"
options="net" # fetching cargo crates
prepare() {
default_prepare
cargo fetch --target="$CTARGET"
}
build() {
cargo auditable build --release --frozen
}
check() {
cargo test --frozen
}
package() {
install -Dm755 target/release/kalker "$pkgdir"/usr/bin/kalker
}
sha512sums="
9615e1566f0168226e9b1c9fff58dc01ff8223695e81e1e54f38ba23494d1ed54de980f1a87d49bf34a2501a090e19e42b02ac6b32b1f42b29cb97a557120990 kalker-2.2.0.tar.gz
3896edc54f59ada422cc049dba184707253a46c79aad60b010d0db4fa0af6ea59b0e577f34b1105051e7b370ea020a03266382d8bb8148ca3bb2bfdd3cf999bd system-libs.patch
"