Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
openlibm
Commits:
2e006322 by Antonio Rojas at 2024-06-19T23:22:39+02:00
upgpkg: 0.8.3-1: Update to 0.8.3
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.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
=====================================
PKGBUILD
=====================================
@@ -3,28 +3,29 @@
# Contributor: Arthur Zamarin <[email protected]>
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)
-sha256sums=('7244f9aa468584744e260cef740d57d10eab6e9c05f62084f8f2ba457f4b4b1d')
+makedepends=(git)
+source=(git+https://github.com/JuliaLang/$pkgname#tag=v$pkgver)
+sha256sums=('f7c5ce8166b53ec31f6169ae9ae11d033ff0b05b9a05e53591b430a34bca9845')
prepare() {
- cd $pkgname-$pkgver
+ cd $pkgname
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/
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/openlibm/-/commit/2e006322c3a2cdd5b72343d08e8d98a1660b225e
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/openlibm/-/commit/2e006322c3a2cdd5b72343d08e8d98a1660b225e
You're receiving this email because of your account on gitlab.archlinux.org.