# Contributors: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gnome-calculator pkgver=41.0 pkgrel=0 pkgdesc="Calculator for solving mathematical equations" url="https://wiki.gnome.org/Apps/Calculator" # s390x, mips64 and riscv64 blocked by rust -> libhandy1 arch="all !s390x !mips !mips64 !riscv64" license="GPL-3.0-or-later" makedepends="vala gtksourceview4-dev glib-dev gtk+3.0-dev libsoup-dev libxml2-dev meson mpc1-dev mpfr-dev itstool libgee-dev libhandy1-dev" subpackages="$pkgname-doc $pkgname-lang $pkgname-dev" source="https://download.gnome.org/sources/gnome-calculator/${pkgver%.*}/gnome-calculator-$pkgver.tar.xz" if [ $CARCH = armhf ]; then options="!check"; # tests time out on armhf fi build() { abuild-meson . output meson compile ${JOBS:+-j ${JOBS}} -C output } check() { meson test --no-rebuild -v -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" c64538c9e9a183411263c88eb74a831a4f89f0eca2d496f1eed98ee6051737110ab992931ec75c0566c8528b209ba4f4103af3497a7ad29643814e4d2ef70c54 gnome-calculator-41.0.tar.xz "