* update openlibm to 0.8.3-1

This commit is contained in:
Alexander Baldeck 2024-08-09 15:25:51 +02:00
parent 2dee22e334
commit 2173bdb908
3 changed files with 26 additions and 7 deletions

13
openlibm/.SRCINFO Normal file
View File

@ -0,0 +1,13 @@
pkgbase = openlibm
pkgdesc = Standalone implementation of C mathematical functions
pkgver = 0.8.3
pkgrel = 1
url = https://openlibm.org/
arch = x86_64
license = MIT
makedepends = git
depends = glibc
source = git+https://github.com/JuliaLang/openlibm#tag=v0.8.3
sha256sums = f7c5ce8166b53ec31f6169ae9ae11d033ff0b05b9a05e53591b430a34bca9845
pkgname = openlibm

5
openlibm/.nvchecker.toml Normal file
View File

@ -0,0 +1,5 @@
[openlibm]
source = 'github'
github = 'JuliaMath/openlibm'
use_max_tag = true
prefix = 'v'

View File

@ -4,28 +4,29 @@
# Contributor: Arthur Zamarin <arthurzam@gmail.com> # Contributor: Arthur Zamarin <arthurzam@gmail.com>
pkgname=openlibm pkgname=openlibm
pkgver=0.8.2 pkgver=0.8.3
pkgrel=1 pkgrel=1
pkgdesc='Standalone implementation of C mathematical functions' pkgdesc='Standalone implementation of C mathematical functions'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64) arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://openlibm.org/' url='https://openlibm.org/'
license=(BSD) license=(MIT)
depends=(glibc) depends=(glibc)
source=(https://github.com/JuliaLang/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz) makedepends=(git)
sha256sums=('7244f9aa468584744e260cef740d57d10eab6e9c05f62084f8f2ba457f4b4b1d') source=(git+https://github.com/JuliaLang/$pkgname#tag=v$pkgver)
sha256sums=('f7c5ce8166b53ec31f6169ae9ae11d033ff0b05b9a05e53591b430a34bca9845')
prepare() { prepare() {
cd $pkgname-$pkgver cd $pkgname
sed -e 's|/usr/local|/usr|' -i Make.inc sed -e 's|/usr/local|/usr|' -i Make.inc
} }
build() { build() {
cd $pkgname-$pkgver cd $pkgname
make prefix=/usr make prefix=/usr
} }
package() { package() {
cd $pkgname-$pkgver cd $pkgname
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/ install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/