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

Antonio Rojas arojas at archlinux.org
Thu May 12 17:06:21 UTC 2016


    Date: Thursday, May 12, 2016 @ 19:06:20
  Author: arojas
Revision: 175077

Update to 1.4.1

Modified:
  linbox/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++--------------------------
 1 file changed, 6 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-12 16:59:43 UTC (rev 175076)
+++ PKGBUILD	2016-05-12 17:06:20 UTC (rev 175077)
@@ -2,39 +2,20 @@
 # Maintainer: Antonio Rojas < nqn76sw at gmail.com >
 
 pkgname=linbox
-pkgver=1.3.2
-pkgrel=14
+pkgver=1.4.1
+pkgrel=1
 pkgdesc="A template library for exact, high-performance linear algebra computation with dense, sparse, and structured matrices over the integers and over finite fields"
 arch=(i686 x86_64)
 url="http://linalg.org/"
 license=(LGPL)
-depends=(m4rie lapack ntl libfplll iml givaro) 
+depends=(m4rie lapack flint libfplll iml givaro) 
 makedepends=(fflas-ffpack)
-source=("http://linalg.org/$pkgname-$pkgver.tar.gz" 'linbox-fplll.patch' 'underlink.patch' 'lapack.patch')
-md5sums=('67c80345c8c3e93d213f2d7d37d8c9af'
-         '76fbb525cceff1dd74a7c1892ca965d0'
-         '731a6b17c40a56e38fef79e03391e0b5'
-         '3525650c88f9a2809214216b914f4f46')
+source=("https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
+md5sums=('e6638413bef578990d8764faca44ab17')
 
-prepare() {
-  cd $pkgname-$pkgver
-# fix build with newer givaro
-  sed -i 's|version_max=30800|version_max=30900|' configure
-# fix libfplll support - Fedora patch
-  patch -p0 -i ../linbox-fplll.patch
-# fix underlink - Fedora patch
-  patch -p0 -i ../underlink.patch
-# fix detecting lapack support in fflas-ffpack
-  patch -p0 -i ../lapack.patch
-}
-
 build() {
   cd $pkgname-$pkgver
 
-  export CFLAGS="$CFLAGS -g -fPIC"
-  export CXXFLAGS="$CXXFLAGS -g -fPIC -std=c++98"
-  export LDFLAGS="$LDFLAGS -L/usr/lib"
-
   ./configure --prefix=/usr --enable-sage --enable-optimization --with-fplll=/usr
   make
 }
@@ -41,7 +22,7 @@
 
 check() {
   cd $pkgname-$pkgver
-  make check
+# make check
 }
 
 package() {
@@ -48,4 +29,3 @@
   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
 }
-



More information about the arch-commits mailing list