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

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Feb 16 19:56:35 UTC 2020


    Date: Sunday, February 16, 2020 @ 19:56:35
  Author: svenstaro
Revision: 572816

upgpkg: magma 2.5.2-4: Rebuild

Modified:
  magma/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-16 19:55:59 UTC (rev 572815)
+++ PKGBUILD	2020-02-16 19:56:35 UTC (rev 572816)
@@ -5,7 +5,7 @@
 
 pkgname=magma
 pkgver=2.5.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Matrix Algebra on GPU and Multicore Architectures"
 arch=('x86_64')
 url="https://icl.cs.utk.edu/magma/"
@@ -16,11 +16,13 @@
 source=("http://icl.cs.utk.edu/projectsfiles/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz")
 sha256sums=('065feb85558f9dd6f4cc4db36ac633a3f787827fc832d0b578a049a43a195620')
 
+prepare() {
+  mkdir "${srcdir}/magma-${pkgver}"/build
+}
+
 build() {
-  cd "${srcdir}/magma-${pkgver}"
+  cd "${srcdir}/magma-${pkgver}"/build
 
-  mkdir -p build
-  cd build
   cmake .. \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \



More information about the arch-commits mailing list