[arch-commits] Commit in arb/repos (2 files)

Antonio Rojas arojas at archlinux.org
Thu Jan 18 22:22:11 UTC 2018


    Date: Thursday, January 18, 2018 @ 22:22:10
  Author: arojas
Revision: 283995

archrelease: copy trunk to community-staging-x86_64

Added:
  arb/repos/community-staging-x86_64/
  arb/repos/community-staging-x86_64/PKGBUILD
    (from rev 283994, arb/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: arb/repos/community-staging-x86_64/PKGBUILD (from rev 283994, arb/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-01-18 22:22:10 UTC (rev 283995)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=arb
+pkgver=2.12.0
+pkgrel=2
+pkgdesc="C library for arbitrary-precision floating-point ball arithmetic"
+arch=(x86_64)
+url="http://fredrikj.net/arb/"
+license=(GPL)
+depends=(flint)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/fredrik-johansson/arb/archive/$pkgver.tar.gz")
+sha256sums=('346af6a69118ebc6535c24b1d31055d315bab026dd24059c262a5fbcfaec6748')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's|-Wl,-r|-r|' -i Makefile.subdirs
+}
+
+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