Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / mpdecimal


Commits:
b3403c32 by Felix Yan at 2024-02-10T01:18:05+02:00
upgpkg: 4.0.0-1

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,12 @@
+pkgbase = mpdecimal
+       pkgdesc = Package for correctly-rounded arbitrary precision decimal 
floating point arithmetic
+       pkgver = 4.0.0
+       pkgrel = 1
+       url = https://www.bytereef.org/mpdecimal/index.html
+       arch = x86_64
+       license = BSD
+       depends = gcc-libs
+       source = 
https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-4.0.0.tar.gz
+       sha512sums = 
7610ac53ac79f7a8a33fa7a3e61515810444ec73ebca859df7a9ddc18e96b990c99323172810c9cc7f6d6e1502c0be308cd443d6c2d5d0c871648e4842e05d59
+
+pkgname = mpdecimal


=====================================
PKGBUILD
=====================================
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=mpdecimal
-pkgver=2.5.1
+pkgver=4.0.0
 pkgrel=1
 pkgdesc="Package for correctly-rounded arbitrary precision decimal floating 
point arithmetic"
 arch=('x86_64')
@@ -9,18 +9,18 @@ url="https://www.bytereef.org/mpdecimal/index.html";
 license=('BSD')
 depends=('gcc-libs')
 
source=("https://www.bytereef.org/software/$pkgname/releases/$pkgname-$pkgver.tar.gz";)
-sha512sums=('710cb5cb71dbcf3e170ca15869c148df0547b848400c6b6dd70c67d9961dbe1190af8fb4d1623bfb0ca2afe44f369a42e311ab5225ed89d4031cb49a3bd70f30')
+sha512sums=('7610ac53ac79f7a8a33fa7a3e61515810444ec73ebca859df7a9ddc18e96b990c99323172810c9cc7f6d6e1502c0be308cd443d6c2d5d0c871648e4842e05d59')
 
 build() {
   cd $pkgname-$pkgver
 
   ./configure --prefix=/usr
-  make
+  MPD_LDXXFLAGS="LDFLAGS" make
 }
 
 package() {
   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
 
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+  install -Dm644 COPYRIGHT.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mpdecimal/-/commit/b3403c3299307de8bf449180c47a7b274ba8e74f

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mpdecimal/-/commit/b3403c3299307de8bf449180c47a7b274ba8e74f
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to