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

Antonio Rojas arojas at gemini.archlinux.org
Tue Dec 14 17:22:48 UTC 2021


    Date: Tuesday, December 14, 2021 @ 17:22:47
  Author: arojas
Revision: 1072797

archrelease: copy trunk to community-staging-x86_64

Added:
  fflas-ffpack/repos/community-staging-x86_64/
  fflas-ffpack/repos/community-staging-x86_64/PKGBUILD
    (from rev 1072796, fflas-ffpack/trunk/PKGBUILD)

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

Copied: fflas-ffpack/repos/community-staging-x86_64/PKGBUILD (from rev 1072796, fflas-ffpack/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-12-14 17:22:47 UTC (rev 1072797)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=fflas-ffpack
+pkgver=2.5.0
+pkgrel=1
+pkgdesc='A library for dense linear algebra over word-size finite fields'
+arch=(x86_64) # pkgconfig file is arch-specific
+url='https://linbox-team.github.io/fflas-ffpack/'
+license=(LGPL)
+depends=(givaro cblas lapack)
+source=(https://github.com/linbox-team/fflas-ffpack/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('dafb4c0835824d28e4f823748579be6e4c8889c9570c6ce9cce1e186c3ebbb23')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --enable-precompilation --with-blas-libs="-lblas -lcblas -llapack"
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool # Fix overlinking
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || true # tests are flaky
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list