# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=openlibm pkgver=0.8.1 pkgrel=0 pkgdesc="High quality system independent, portable, open source libm implementation" url="https://openlibm.org/" # riscv64 is not supported upstream arch="all !s390x !riscv64" license="MIT AND BSD-2-Clause AND ISC AND LGPL-2.1-or-later" subpackages="$pkgname-dev" source="openlibm-$pkgver.tar.gz::https://github.com/JuliaLang/openlibm/archive/v$pkgver.tar.gz powerpc_fixes.patch" build() { make } check() { make check } package() { make VERSION=$pkgver DESTDIR="$pkgdir" prefix=/usr install rm -f "$pkgdir"/usr/lib/*.a } sha512sums=" eb8a0b043b6c6973c9dc2d2a9eb533dac3aada10c4894b970409ddc7aeadf13329a8dc5a2a76b5dc917b85e057a905bf02da487d4ac88a31d669c1471ca5084f openlibm-0.8.1.tar.gz 76ee57a281275b2bd382f0485e4ca383566af47f3d89981b75ad764c629d82f7f0260fb41cc9eb50f0f175c88b64699aabcc732add321f4d730f38ba7a48238d powerpc_fixes.patch "