From f8129ddddf47317ce072cdb46c32f47aedc910ab Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Wed, 19 Jun 2024 23:02:05 +0000 Subject: [PATCH] extra/openlibm to 0.8.3-1 --- extra/openlibm/.SRCINFO | 9 +++++---- extra/openlibm/PKGBUILD | 15 ++++++++------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/extra/openlibm/.SRCINFO b/extra/openlibm/.SRCINFO index b32762cb9..927d51040 100644 --- a/extra/openlibm/.SRCINFO +++ b/extra/openlibm/.SRCINFO @@ -1,12 +1,13 @@ pkgbase = openlibm pkgdesc = Standalone implementation of C mathematical functions - pkgver = 0.8.2 + pkgver = 0.8.3 pkgrel = 1 url = https://openlibm.org/ arch = x86_64 - license = BSD + license = MIT + makedepends = git depends = glibc - source = https://github.com/JuliaLang/openlibm/archive/v0.8.2/openlibm-0.8.2.tar.gz - sha256sums = 7244f9aa468584744e260cef740d57d10eab6e9c05f62084f8f2ba457f4b4b1d + source = git+https://github.com/JuliaLang/openlibm#tag=v0.8.3 + sha256sums = f7c5ce8166b53ec31f6169ae9ae11d033ff0b05b9a05e53591b430a34bca9845 pkgname = openlibm diff --git a/extra/openlibm/PKGBUILD b/extra/openlibm/PKGBUILD index 8fe71ddf3..21476d70a 100644 --- a/extra/openlibm/PKGBUILD +++ b/extra/openlibm/PKGBUILD @@ -6,31 +6,32 @@ # - patch out hard ARM march and float specification pkgname=openlibm -pkgver=0.8.2 +pkgver=0.8.3 pkgrel=1 pkgdesc='Standalone implementation of C mathematical functions' arch=(x86_64) url='https://openlibm.org/' -license=(BSD) +license=(MIT) depends=(glibc) -source=(https://github.com/JuliaLang/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz +makedepends=(git) +source=(git+https://github.com/JuliaLang/$pkgname#tag=v$pkgver '0001-Remove-ARM-march-and-float-specification.patch') -sha256sums=('7244f9aa468584744e260cef740d57d10eab6e9c05f62084f8f2ba457f4b4b1d' +sha256sums=('SKIP' '1d8a5781bf7d87ae955b7c4c88f76c523eb30a9f0d057be223323cae578da31c') prepare() { - cd $pkgname-$pkgver + cd $pkgname patch -p1 -i ../0001-Remove-ARM-march-and-float-specification.patch sed -e 's|/usr/local|/usr|' -i Make.inc } build() { - cd $pkgname-$pkgver + cd $pkgname make prefix=/usr } package() { - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/