[arch-commits] Commit in arb/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Fri Jul 23 16:05:49 UTC 2021


    Date: Friday, July 23, 2021 @ 16:05:48
  Author: arojas
Revision: 984521

flint 2.8 rebuild

Modified:
  arb/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-23 16:02:13 UTC (rev 984520)
+++ PKGBUILD	2021-07-23 16:05:48 UTC (rev 984521)
@@ -2,15 +2,21 @@
 
 pkgname=arb
 pkgver=2.19.0
-pkgrel=2
-pkgdesc="C library for arbitrary-precision floating-point ball arithmetic"
+pkgrel=3
+pkgdesc='C library for arbitrary-precision floating-point ball arithmetic'
 arch=(x86_64)
-url="http://arblib.org/"
+url='http://arblib.org/'
 license=(LGPL)
 depends=(flint)
-source=($pkgname-$pkgver.tar.gz::"https://github.com/fredrik-johansson/arb/archive/$pkgver.tar.gz")
-sha256sums=('0aec6b492b6e9a543bdb3287a91f976951e2ba74fd4de942e692e21f7edbcf13')
+source=(https://github.com/fredrik-johansson/arb/archive/$pkgver/$pkgname-$pkgver.tar.gz
+        arb-flint2.8.patch::https://github.com/fredrik-johansson/arb/commit/b6c8032e.patch)
+sha256sums=('0aec6b492b6e9a543bdb3287a91f976951e2ba74fd4de942e692e21f7edbcf13'
+            '031b5e734ac7d23d769a5d6448c8eb76210a808087acd823fbde726e55fcc464')
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < arb-flint2.8.patch # Fix build with flint 2.8
+}
+
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr --with-flint=/usr --with-gmp=/usr --with-mpfr=/usr




More information about the arch-commits mailing list