[arch-commits] Commit in linbox/repos (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Tue Dec 14 17:27:54 UTC 2021
Date: Tuesday, December 14, 2021 @ 17:27:54
Author: arojas
Revision: 1072799
archrelease: copy trunk to community-staging-x86_64
Added:
linbox/repos/community-staging-x86_64/
linbox/repos/community-staging-x86_64/PKGBUILD
(from rev 1072798, linbox/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: linbox/repos/community-staging-x86_64/PKGBUILD (from rev 1072798, linbox/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-12-14 17:27:54 UTC (rev 1072799)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=linbox
+pkgver=1.7.0
+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=(x86_64)
+url='https://linalg.org/'
+license=(LGPL)
+depends=(fflas-ffpack)
+makedepends=(m4rie flint iml fplll)
+source=(https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('6d2159fd395be0298362dd37f6c696676237bc8e2757341fbc46520e3b466bcc')
+
+build() {
+ cd $pkgname-$pkgver
+
+ ./configure --prefix=/usr --enable-sage --with-fplll=/usr
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool # fix overlinking
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list