Date: Wednesday, February 1, 2023 @ 16:38:50
  Author: arojas
Revision: 1391762

upgpkg: naev 0.10.3-2: Build against generic blas

Modified:
  naev/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-01 16:36:26 UTC (rev 1391761)
+++ PKGBUILD    2023-02-01 16:38:50 UTC (rev 1391762)
@@ -3,13 +3,13 @@
 
 pkgname=naev
 pkgver=0.10.3
-pkgrel=1
+pkgrel=2
 pkgdesc='2D action/rpg space game'
 arch=('x86_64')
 url="https://github.com/naev/naev";
 license=('GPL3')
 depends=('glu' 'openal' 'libvorbis' 'sdl2' 'sdl2_image' 'sdl2_mixer' 'libgl' 
'libxml2' 'freetype2'
-         'libpng' 'libzip' 'luajit' 'glpk' 'physfs' 'libunibreak' 
'suitesparse' 'openblas' 'cblas')
+         'libpng' 'libzip' 'luajit' 'glpk' 'physfs' 'libunibreak' 
'suitesparse' 'cblas')
 makedepends=('freeglut' 'zip' 'meson' 'git' 'python-yaml')
 
source=("https://github.com/naev/naev/releases/download/v$pkgver/naev-$pkgver-source.tar.xz";)
 
sha512sums=('7491c61bae446aa98f3847be8719cf822955d3cd0a1b01e4a0d55d49a58628ec07f4872140b3fc77b6c1a928da9d4c8b112a2814ae3ce7edfcc98841f6812a59')
@@ -17,8 +17,7 @@
 build() {
   cd "$pkgname-$pkgver"
 
-  export LDFLAGS+=' -lcblas' # Workaround our openblas not providing cblas
-  meson setup -Dprefix=/usr -Dndata_path=/usr/share/naev/ndata build .
+  meson setup -Dprefix=/usr -Dndata_path=/usr/share/naev/ndata -Dblas=cblas 
build .
   cd build
   meson compile
 }

Reply via email to