[arch-commits] Commit in arb/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Fri Jun 5 18:05:33 UTC 2020
Date: Friday, June 5, 2020 @ 18:05:32
Author: arojas
Revision: 639178
archrelease: copy trunk to community-staging-x86_64
Added:
arb/repos/community-staging-x86_64/
arb/repos/community-staging-x86_64/PKGBUILD
(from rev 639177, arb/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: arb/repos/community-staging-x86_64/PKGBUILD (from rev 639177, arb/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-06-05 18:05:32 UTC (rev 639178)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=arb
+pkgver=2.17.0
+pkgrel=2
+pkgdesc="C library for arbitrary-precision floating-point ball arithmetic"
+arch=(x86_64)
+url="http://arblib.org/"
+license=(LGPL)
+depends=(flint)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/fredrik-johansson/arb/archive/$pkgver.tar.gz"
+ flint-arb-2.6.patch::"https://github.com/fredrik-johansson/arb/commit/d3d99832.patch")
+sha256sums=('145a7a8e0e449b8a30de68c75c10b146c4f199544262711bef6fb49d3012d6e1'
+ '017962abdc31bac90a3dda37f98b67f67d2c8fd273bd7bde86f183dec1aba377')
+
+prepare() {
+ patch -d $pkgname-$pkgver -p1 -i ../flint-arb-2.6.patch # Fix build with flint 2.6
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --with-flint=/usr --with-gmp=/usr --with-mpfr=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list