[arch-commits] Commit in arb/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Dec 9 20:09:08 UTC 2015
Date: Wednesday, December 9, 2015 @ 21:09:08
Author: arojas
Revision: 151285
Fix flint includes
Modified:
arb/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-12-09 18:05:30 UTC (rev 151284)
+++ PKGBUILD 2015-12-09 20:09:08 UTC (rev 151285)
@@ -3,15 +3,23 @@
pkgname=arb
pkgver=2.7.0
-pkgrel=2
+pkgrel=3
pkgdesc="C library for arbitrary-precision floating-point ball arithmetic"
arch=(i686 x86_64)
url="http://fredrikj.net/arb/"
license=(GPL)
depends=(flint)
-source=("https://github.com/fredrik-johansson/arb/archive/$pkgver.tar.gz")
-md5sums=('f56a1d5d748f51da8ac47653bca9e2dc')
+source=("https://github.com/fredrik-johansson/arb/archive/$pkgver.tar.gz"
+ fix-flint-includes.patch::"http://git.sagemath.org/sage.git/plain/build/pkgs/arb/patches/flint_includes.patch?h=develop")
+md5sums=('f56a1d5d748f51da8ac47653bca9e2dc'
+ 'a70af061f2a3921568cb949dd06956ec')
+prepare() {
+ cd $pkgname-$pkgver
+# Fix flint include paths
+ patch -p1 -i ../fix-flint-includes.patch
+}
+
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --with-flint=/usr --with-gmp=/usr --with-mpfr=/usr
More information about the arch-commits
mailing list