[arch-commits] Commit in flint/repos (4 files)

Antonio Rojas arojas at archlinux.org
Thu Aug 13 19:32:08 UTC 2015


    Date: Thursday, August 13, 2015 @ 21:32:07
  Author: arojas
Revision: 138313

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  flint/repos/community-staging-i686/
  flint/repos/community-staging-i686/PKGBUILD
    (from rev 138312, flint/trunk/PKGBUILD)
  flint/repos/community-staging-x86_64/
  flint/repos/community-staging-x86_64/PKGBUILD
    (from rev 138312, flint/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   31 +++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   31 +++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

Copied: flint/repos/community-staging-i686/PKGBUILD (from rev 138312, flint/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-08-13 19:32:07 UTC (rev 138313)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+# Contributor: Alessandro "jakedust" Andrioni <jakedust at gmail.com>
+
+pkgname=flint
+pkgver=2.5.2
+pkgrel=1
+pkgdesc="A C library for doing number theory"
+arch=(i686 x86_64)
+url="http://www.flintlib.org"
+license=(GPL)
+depends=(mpfr ntl)
+source=("http://www.flintlib.org/flint-$pkgver.tar.gz")
+md5sums=('cda885309362150196aed66a5e0f0383')
+
+prepare() {
+  cd $pkgname-$pkgver
+#  sed -i.orig 's,.*NTL/g_lip.h,// &,' interfaces/NTL-interface.cpp
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-gmp=/usr --with-mpfr=/usr --with-ntl=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: flint/repos/community-staging-x86_64/PKGBUILD (from rev 138312, flint/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-08-13 19:32:07 UTC (rev 138313)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+# Contributor: Alessandro "jakedust" Andrioni <jakedust at gmail.com>
+
+pkgname=flint
+pkgver=2.5.2
+pkgrel=1
+pkgdesc="A C library for doing number theory"
+arch=(i686 x86_64)
+url="http://www.flintlib.org"
+license=(GPL)
+depends=(mpfr ntl)
+source=("http://www.flintlib.org/flint-$pkgver.tar.gz")
+md5sums=('cda885309362150196aed66a5e0f0383')
+
+prepare() {
+  cd $pkgname-$pkgver
+#  sed -i.orig 's,.*NTL/g_lip.h,// &,' interfaces/NTL-interface.cpp
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-gmp=/usr --with-mpfr=/usr --with-ntl=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list