Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
fflas-ffpack


Commits:
8dbdc2ed by Antonio Rojas at 2024-07-02T00:26:07+02:00
upgpkg: 2.5.0-2: Rebuild for missing .SRCINFO

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,18 @@
+pkgbase = fflas-ffpack
+       pkgdesc = A library for dense linear algebra over word-size finite 
fields
+       pkgver = 2.5.0
+       pkgrel = 2
+       url = https://linbox-team.github.io/fflas-ffpack/
+       arch = x86_64
+       license = LGPL-2.1-or-later
+       makedepends = git
+       makedepends = lapack
+       depends = cblas
+       depends = gcc-libs
+       depends = givaro
+       depends = glibc
+       depends = sh
+       source = git+https://github.com/linbox-team/fflas-ffpack#tag=v2.5.0
+       sha256sums = 
22e118ca6c9663b9184b36b8a8383c4febce688ae191ec3e7cb1c99847da9fb8
+
+pkgname = fflas-ffpack


=====================================
PKGBUILD
=====================================
@@ -2,28 +2,42 @@
 
 pkgname=fflas-ffpack
 pkgver=2.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc='A library for dense linear algebra over word-size finite fields'
-arch=(x86_64) # pkgconfig file is arch-specific
+arch=(x86_64)
 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')
+license=(LGPL-2.1-or-later)
+depends=(cblas
+         gcc-libs
+         givaro
+         glibc
+         sh)
+makedepends=(git
+             lapack)
+source=(git+https://github.com/linbox-team/fflas-ffpack#tag=v$pkgver)
+sha256sums=('22e118ca6c9663b9184b36b8a8383c4febce688ae191ec3e7cb1c99847da9fb8')
+
+prepare() {
+  cd $pkgname
+  autoreconf -vi
+}
 
 build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --enable-precompilation --with-blas-libs="-lblas 
-lcblas -llapack"
+  cd $pkgname
+  ./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
+  cd $pkgname
   make check || true # tests are flaky
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/fflas-ffpack/-/commit/8dbdc2edb7d021743a18d883f08d2e40e1d43c90

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/fflas-ffpack/-/commit/8dbdc2edb7d021743a18d883f08d2e40e1d43c90
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to